[][src]Struct df_st_db::CreatureBiome1

pub struct CreatureBiome1 {
    pub cr_id: i32,
    pub world_id: i32,
    pub desert_badland: Option<bool>,
    pub desert_rock: Option<bool>,
    pub desert_sand: Option<bool>,
    pub forest_taiga: Option<bool>,
    pub forest_temperate_broadleaf: Option<bool>,
    pub forest_temperate_conifer: Option<bool>,
    pub forest_tropical_conifer: Option<bool>,
    pub forest_tropical_dry_broadleaf: Option<bool>,
    pub forest_tropical_moist_broadleaf: Option<bool>,
    pub glacier: Option<bool>,
    pub grassland_temperate: Option<bool>,
    pub grassland_tropical: Option<bool>,
    pub lake_temperate_brackishwater: Option<bool>,
    pub lake_temperate_freshwater: Option<bool>,
    pub lake_temperate_saltwater: Option<bool>,
    pub lake_tropical_brackishwater: Option<bool>,
    pub lake_tropical_freshwater: Option<bool>,
    pub lake_tropical_saltwater: Option<bool>,
    pub marsh_temperate_freshwater: Option<bool>,
    pub marsh_temperate_saltwater: Option<bool>,
    pub marsh_tropical_freshwater: Option<bool>,
    pub marsh_tropical_saltwater: Option<bool>,
    pub mountain: Option<bool>,
}

Fields

cr_id: i32world_id: i32desert_badland: Option<bool>desert_rock: Option<bool>desert_sand: Option<bool>forest_taiga: Option<bool>forest_temperate_broadleaf: Option<bool>forest_temperate_conifer: Option<bool>forest_tropical_conifer: Option<bool>forest_tropical_dry_broadleaf: Option<bool>forest_tropical_moist_broadleaf: Option<bool>glacier: Option<bool>grassland_temperate: Option<bool>grassland_tropical: Option<bool>lake_temperate_brackishwater: Option<bool>lake_temperate_freshwater: Option<bool>lake_temperate_saltwater: Option<bool>lake_tropical_brackishwater: Option<bool>lake_tropical_freshwater: Option<bool>lake_tropical_saltwater: Option<bool>marsh_temperate_freshwater: Option<bool>marsh_temperate_saltwater: Option<bool>marsh_tropical_freshwater: Option<bool>marsh_tropical_saltwater: Option<bool>mountain: Option<bool>

Implementations

impl CreatureBiome1[src]

pub fn new() -> Self[src]

Trait Implementations

impl<'update> AsChangeset for &'update CreatureBiome1[src]

type Target = table

The table which Self::Changeset will be updating

type Changeset = <(Eq<world_id, &'update i32>, Option<Eq<desert_badland, &'update bool>>, Option<Eq<desert_rock, &'update bool>>, Option<Eq<desert_sand, &'update bool>>, Option<Eq<forest_taiga, &'update bool>>, Option<Eq<forest_temperate_broadleaf, &'update bool>>, Option<Eq<forest_temperate_conifer, &'update bool>>, Option<Eq<forest_tropical_conifer, &'update bool>>, Option<Eq<forest_tropical_dry_broadleaf, &'update bool>>, Option<Eq<forest_tropical_moist_broadleaf, &'update bool>>, Option<Eq<glacier, &'update bool>>, Option<Eq<grassland_temperate, &'update bool>>, Option<Eq<grassland_tropical, &'update bool>>, Option<Eq<lake_temperate_brackishwater, &'update bool>>, Option<Eq<lake_temperate_freshwater, &'update bool>>, Option<Eq<lake_temperate_saltwater, &'update bool>>, Option<Eq<lake_tropical_brackishwater, &'update bool>>, Option<Eq<lake_tropical_freshwater, &'update bool>>, Option<Eq<lake_tropical_saltwater, &'update bool>>, Option<Eq<marsh_temperate_freshwater, &'update bool>>, Option<Eq<marsh_temperate_saltwater, &'update bool>>, Option<Eq<marsh_tropical_freshwater, &'update bool>>, Option<Eq<marsh_tropical_saltwater, &'update bool>>, Option<Eq<mountain, &'update bool>>) as AsChangeset>::Changeset

The update statement this type represents

impl<'update> AsChangeset for CreatureBiome1[src]

impl<__FK> BelongsTo<Creature> for CreatureBiome1 where
    __FK: Hash + Eq,
    &'__a i32: Into<Option<&'__a __FK>>,
    &'__a Creature: Identifiable<Id = &'__a __FK>, 
[src]

type ForeignKey = __FK

The foreign key of this struct

type ForeignKeyColumn = cr_id

The database column representing the foreign key of the table this struct represents Read more

impl Clone for CreatureBiome1[src]

impl DBObject<CreatureBiome, CreatureBiome1> for CreatureBiome1[src]

fn find_db_list(
    _conn: &DbConnection,
    _id_filter: HashMap<String, i32>,
    _string_filter: HashMap<String, String>,
    _offset: i64,
    _limit: i64,
    _order: Option<OrderTypes>,
    _order_by: Option<String>,
    _id_list: Option<Vec<i32>>
) -> Result<Vec<CreatureBiome1>, Error>
[src]

Get a list of CreatureBiome1 from the database

impl Debug for CreatureBiome1[src]

impl Default for CreatureBiome1[src]

impl Fillable for CreatureBiome1[src]

impl Filler<CreatureBiome, CreatureBiome1> for CreatureBiome[src]

From DB to Core

impl Filler<CreatureBiome1, CreatureBiome> for CreatureBiome1[src]

From Core to DB

impl HasTable for CreatureBiome1[src]

type Table = table

The table this type is associated with.

impl Hash for CreatureBiome1[src]

impl<'ident> Identifiable for &'ident CreatureBiome1[src]

type Id = &'ident i32

The type of this struct's identifier. Read more

impl<'insert> Insertable<table> for CreatureBiome1[src]

impl<'insert> Insertable<table> for &'insert CreatureBiome1[src]

type Values = <(Option<Eq<cr_id, &'insert i32>>, Option<Eq<world_id, &'insert i32>>, Option<Eq<desert_badland, &'insert bool>>, Option<Eq<desert_rock, &'insert bool>>, Option<Eq<desert_sand, &'insert bool>>, Option<Eq<forest_taiga, &'insert bool>>, Option<Eq<forest_temperate_broadleaf, &'insert bool>>, Option<Eq<forest_temperate_conifer, &'insert bool>>, Option<Eq<forest_tropical_conifer, &'insert bool>>, Option<Eq<forest_tropical_dry_broadleaf, &'insert bool>>, Option<Eq<forest_tropical_moist_broadleaf, &'insert bool>>, Option<Eq<glacier, &'insert bool>>, Option<Eq<grassland_temperate, &'insert bool>>, Option<Eq<grassland_tropical, &'insert bool>>, Option<Eq<lake_temperate_brackishwater, &'insert bool>>, Option<Eq<lake_temperate_freshwater, &'insert bool>>, Option<Eq<lake_temperate_saltwater, &'insert bool>>, Option<Eq<lake_tropical_brackishwater, &'insert bool>>, Option<Eq<lake_tropical_freshwater, &'insert bool>>, Option<Eq<lake_tropical_saltwater, &'insert bool>>, Option<Eq<marsh_temperate_freshwater, &'insert bool>>, Option<Eq<marsh_temperate_saltwater, &'insert bool>>, Option<Eq<marsh_tropical_freshwater, &'insert bool>>, Option<Eq<marsh_tropical_saltwater, &'insert bool>>, Option<Eq<mountain, &'insert bool>>) as Insertable<table>>::Values

The VALUES clause to insert these records Read more

impl PartialEq<CreatureBiome> for CreatureBiome1[src]

impl PartialEq<CreatureBiome1> for CreatureBiome1[src]

impl PartialEq<CreatureBiome1> for CreatureBiome[src]

impl<__DB: Backend, __ST> Queryable<__ST, __DB> for CreatureBiome1 where
    (i32, i32, Option<bool>, Option<bool>, Option<bool>, Option<bool>, Option<bool>, Option<bool>, Option<bool>, Option<bool>, Option<bool>, Option<bool>, Option<bool>, Option<bool>, Option<bool>, Option<bool>, Option<bool>, Option<bool>, Option<bool>, Option<bool>, Option<bool>, Option<bool>, Option<bool>, Option<bool>, Option<bool>): Queryable<__ST, __DB>, 
[src]

type Row = <(i32, i32, Option<bool>, Option<bool>, Option<bool>, Option<bool>, Option<bool>, Option<bool>, Option<bool>, Option<bool>, Option<bool>, Option<bool>, Option<bool>, Option<bool>, Option<bool>, Option<bool>, Option<bool>, Option<bool>, Option<bool>, Option<bool>, Option<bool>, Option<bool>, Option<bool>, Option<bool>, Option<bool>) as Queryable<__ST, __DB>>::Row

The Rust type you'd like to map from. Read more

impl<'insert> UndecoratedInsertRecord<table> for CreatureBiome1[src]

Auto Trait Implementations

impl RefUnwindSafe for CreatureBiome1

impl Send for CreatureBiome1

impl Sync for CreatureBiome1

impl Unpin for CreatureBiome1

impl UnwindSafe for CreatureBiome1

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<'a, Parent, Child> BelongingToDsl<&'a [Parent]> for Child where
    Child: HasTable + BelongsTo<Parent>,
    &'a Parent: Identifiable,
    Vec<<&'a Parent as Identifiable>::Id>: AsInExpression<<<Child as BelongsTo<Parent>>::ForeignKeyColumn as Expression>::SqlType>,
    <Child as HasTable>::Table: FilterDsl<In<<Child as BelongsTo<Parent>>::ForeignKeyColumn, <Vec<<&'a Parent as Identifiable>::Id> as AsInExpression<<<Child as BelongsTo<Parent>>::ForeignKeyColumn as Expression>::SqlType>>::InExpression>>,
    <Child as BelongsTo<Parent>>::ForeignKeyColumn: ExpressionMethods, 

type Output = <<Child as HasTable>::Table as FilterDsl<In<<Child as BelongsTo<Parent>>::ForeignKeyColumn, <Vec<<&'a Parent as Identifiable>::Id> as AsInExpression<<<Child as BelongsTo<Parent>>::ForeignKeyColumn as Expression>::SqlType>>::InExpression>>>::Output

The query returned by belonging_to

impl<'a, Parent, Child> BelongingToDsl<&'a Parent> for Child where
    Child: HasTable + BelongsTo<Parent>,
    &'a Parent: Identifiable,
    <&'a Parent as Identifiable>::Id: AsExpression<<<Child as BelongsTo<Parent>>::ForeignKeyColumn as Expression>::SqlType>,
    <Child as HasTable>::Table: FilterDsl<Eq<<Child as BelongsTo<Parent>>::ForeignKeyColumn, <<&'a Parent as Identifiable>::Id as AsExpression<<<Child as BelongsTo<Parent>>::ForeignKeyColumn as Expression>::SqlType>>::Expression>>,
    <Child as BelongsTo<Parent>>::ForeignKeyColumn: ExpressionMethods, 

type Output = <<Child as HasTable>::Table as FilterDsl<Eq<<Child as BelongsTo<Parent>>::ForeignKeyColumn, <<&'a Parent as Identifiable>::Id as AsExpression<<<Child as BelongsTo<Parent>>::ForeignKeyColumn as Expression>::SqlType>>::Expression>>>::Output

The query returned by belonging_to

impl<'a, Parent, Child> BelongingToDsl<&'a Vec<Parent>> for Child where
    Child: BelongingToDsl<&'a [Parent]>, 

type Output = <Child as BelongingToDsl<&'a [Parent]>>::Output

The query returned by belonging_to

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DynClone for T where
    T: Clone
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoSql for T

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,