[][src]Struct df_st_db::CreatureBiome2

pub struct CreatureBiome2 {
    pub cr_id: i32,
    pub world_id: i32,
    pub ocean_arctic: Option<bool>,
    pub ocean_temperate: Option<bool>,
    pub ocean_tropical: Option<bool>,
    pub pool_temperate_brackishwater: Option<bool>,
    pub pool_temperate_freshwater: Option<bool>,
    pub pool_temperate_saltwater: Option<bool>,
    pub pool_tropical_brackishwater: Option<bool>,
    pub pool_tropical_freshwater: Option<bool>,
    pub pool_tropical_saltwater: Option<bool>,
    pub river_temperate_brackishwater: Option<bool>,
    pub river_temperate_freshwater: Option<bool>,
    pub river_temperate_saltwater: Option<bool>,
    pub river_tropical_brackishwater: Option<bool>,
    pub river_tropical_freshwater: Option<bool>,
    pub river_tropical_saltwater: Option<bool>,
    pub savanna_temperate: Option<bool>,
    pub savanna_tropical: Option<bool>,
    pub shrubland_temperate: Option<bool>,
    pub shrubland_tropical: Option<bool>,
    pub subterranean_chasm: Option<bool>,
    pub subterranean_lava: Option<bool>,
    pub subterranean_water: Option<bool>,
    pub swamp_mangrove: Option<bool>,
    pub swamp_temperate_freshwater: Option<bool>,
    pub swamp_temperate_saltwater: Option<bool>,
    pub swamp_tropical_freshwater: Option<bool>,
    pub swamp_tropical_saltwater: Option<bool>,
    pub tundra: Option<bool>,
}

Fields

cr_id: i32world_id: i32ocean_arctic: Option<bool>ocean_temperate: Option<bool>ocean_tropical: Option<bool>pool_temperate_brackishwater: Option<bool>pool_temperate_freshwater: Option<bool>pool_temperate_saltwater: Option<bool>pool_tropical_brackishwater: Option<bool>pool_tropical_freshwater: Option<bool>pool_tropical_saltwater: Option<bool>river_temperate_brackishwater: Option<bool>river_temperate_freshwater: Option<bool>river_temperate_saltwater: Option<bool>river_tropical_brackishwater: Option<bool>river_tropical_freshwater: Option<bool>river_tropical_saltwater: Option<bool>savanna_temperate: Option<bool>savanna_tropical: Option<bool>shrubland_temperate: Option<bool>shrubland_tropical: Option<bool>subterranean_chasm: Option<bool>subterranean_lava: Option<bool>subterranean_water: Option<bool>swamp_mangrove: Option<bool>swamp_temperate_freshwater: Option<bool>swamp_temperate_saltwater: Option<bool>swamp_tropical_freshwater: Option<bool>swamp_tropical_saltwater: Option<bool>tundra: Option<bool>

Implementations

impl CreatureBiome2[src]

pub fn new() -> Self[src]

Trait Implementations

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

type Target = table

The table which Self::Changeset will be updating

type Changeset = <(Eq<world_id, &'update i32>, Option<Eq<ocean_arctic, &'update bool>>, Option<Eq<ocean_temperate, &'update bool>>, Option<Eq<ocean_tropical, &'update bool>>, Option<Eq<pool_temperate_brackishwater, &'update bool>>, Option<Eq<pool_temperate_freshwater, &'update bool>>, Option<Eq<pool_temperate_saltwater, &'update bool>>, Option<Eq<pool_tropical_brackishwater, &'update bool>>, Option<Eq<pool_tropical_freshwater, &'update bool>>, Option<Eq<pool_tropical_saltwater, &'update bool>>, Option<Eq<river_temperate_brackishwater, &'update bool>>, Option<Eq<river_temperate_freshwater, &'update bool>>, Option<Eq<river_temperate_saltwater, &'update bool>>, Option<Eq<river_tropical_brackishwater, &'update bool>>, Option<Eq<river_tropical_freshwater, &'update bool>>, Option<Eq<river_tropical_saltwater, &'update bool>>, Option<Eq<savanna_temperate, &'update bool>>, Option<Eq<savanna_tropical, &'update bool>>, Option<Eq<shrubland_temperate, &'update bool>>, Option<Eq<shrubland_tropical, &'update bool>>, Option<Eq<subterranean_chasm, &'update bool>>, Option<Eq<subterranean_lava, &'update bool>>, Option<Eq<subterranean_water, &'update bool>>, Option<Eq<swamp_mangrove, &'update bool>>, Option<Eq<swamp_temperate_freshwater, &'update bool>>, Option<Eq<swamp_temperate_saltwater, &'update bool>>, Option<Eq<swamp_tropical_freshwater, &'update bool>>, Option<Eq<swamp_tropical_saltwater, &'update bool>>, Option<Eq<tundra, &'update bool>>) as AsChangeset>::Changeset

The update statement this type represents

impl<'update> AsChangeset for CreatureBiome2[src]

impl<__FK> BelongsTo<Creature> for CreatureBiome2 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 CreatureBiome2[src]

impl DBObject<CreatureBiome, CreatureBiome2> for CreatureBiome2[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<CreatureBiome2>, Error>
[src]

Get a list of CreatureBiome2 from the database

impl Debug for CreatureBiome2[src]

impl Default for CreatureBiome2[src]

impl Fillable for CreatureBiome2[src]

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

From DB to Core

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

From Core to DB

impl HasTable for CreatureBiome2[src]

type Table = table

The table this type is associated with.

impl Hash for CreatureBiome2[src]

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

type Id = &'ident i32

The type of this struct's identifier. Read more

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

type Values = <(Option<Eq<cr_id, i32>>, Option<Eq<world_id, i32>>, Option<Eq<ocean_arctic, bool>>, Option<Eq<ocean_temperate, bool>>, Option<Eq<ocean_tropical, bool>>, Option<Eq<pool_temperate_brackishwater, bool>>, Option<Eq<pool_temperate_freshwater, bool>>, Option<Eq<pool_temperate_saltwater, bool>>, Option<Eq<pool_tropical_brackishwater, bool>>, Option<Eq<pool_tropical_freshwater, bool>>, Option<Eq<pool_tropical_saltwater, bool>>, Option<Eq<river_temperate_brackishwater, bool>>, Option<Eq<river_temperate_freshwater, bool>>, Option<Eq<river_temperate_saltwater, bool>>, Option<Eq<river_tropical_brackishwater, bool>>, Option<Eq<river_tropical_freshwater, bool>>, Option<Eq<river_tropical_saltwater, bool>>, Option<Eq<savanna_temperate, bool>>, Option<Eq<savanna_tropical, bool>>, Option<Eq<shrubland_temperate, bool>>, Option<Eq<shrubland_tropical, bool>>, Option<Eq<subterranean_chasm, bool>>, Option<Eq<subterranean_lava, bool>>, Option<Eq<subterranean_water, bool>>, Option<Eq<swamp_mangrove, bool>>, Option<Eq<swamp_temperate_freshwater, bool>>, Option<Eq<swamp_temperate_saltwater, bool>>, Option<Eq<swamp_tropical_freshwater, bool>>, Option<Eq<swamp_tropical_saltwater, bool>>, Option<Eq<tundra, bool>>) as Insertable<table>>::Values

The VALUES clause to insert these records Read more

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

type Values = <(Option<Eq<cr_id, &'insert i32>>, Option<Eq<world_id, &'insert i32>>, Option<Eq<ocean_arctic, &'insert bool>>, Option<Eq<ocean_temperate, &'insert bool>>, Option<Eq<ocean_tropical, &'insert bool>>, Option<Eq<pool_temperate_brackishwater, &'insert bool>>, Option<Eq<pool_temperate_freshwater, &'insert bool>>, Option<Eq<pool_temperate_saltwater, &'insert bool>>, Option<Eq<pool_tropical_brackishwater, &'insert bool>>, Option<Eq<pool_tropical_freshwater, &'insert bool>>, Option<Eq<pool_tropical_saltwater, &'insert bool>>, Option<Eq<river_temperate_brackishwater, &'insert bool>>, Option<Eq<river_temperate_freshwater, &'insert bool>>, Option<Eq<river_temperate_saltwater, &'insert bool>>, Option<Eq<river_tropical_brackishwater, &'insert bool>>, Option<Eq<river_tropical_freshwater, &'insert bool>>, Option<Eq<river_tropical_saltwater, &'insert bool>>, Option<Eq<savanna_temperate, &'insert bool>>, Option<Eq<savanna_tropical, &'insert bool>>, Option<Eq<shrubland_temperate, &'insert bool>>, Option<Eq<shrubland_tropical, &'insert bool>>, Option<Eq<subterranean_chasm, &'insert bool>>, Option<Eq<subterranean_lava, &'insert bool>>, Option<Eq<subterranean_water, &'insert bool>>, Option<Eq<swamp_mangrove, &'insert bool>>, Option<Eq<swamp_temperate_freshwater, &'insert bool>>, Option<Eq<swamp_temperate_saltwater, &'insert bool>>, Option<Eq<swamp_tropical_freshwater, &'insert bool>>, Option<Eq<swamp_tropical_saltwater, &'insert bool>>, Option<Eq<tundra, &'insert bool>>) as Insertable<table>>::Values

The VALUES clause to insert these records Read more

impl PartialEq<CreatureBiome> for CreatureBiome2[src]

impl PartialEq<CreatureBiome2> for CreatureBiome2[src]

impl PartialEq<CreatureBiome2> for CreatureBiome[src]

impl<__DB: Backend, __ST> Queryable<__ST, __DB> for CreatureBiome2 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>, 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>, 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 CreatureBiome2[src]

Auto Trait Implementations

impl RefUnwindSafe for CreatureBiome2

impl Send for CreatureBiome2

impl Sync for CreatureBiome2

impl Unpin for CreatureBiome2

impl UnwindSafe for CreatureBiome2

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>,