[][src]Struct df_st_db::CreatureLZ

pub struct CreatureLZ {
    pub cr_id: i32,
    pub world_id: i32,
    pub large_roaming: Option<bool>,
    pub loose_clusters: Option<bool>,
    pub mates_to_breed: Option<bool>,
    pub mundane: Option<bool>,
    pub occurs_as_entity_race: Option<bool>,
    pub savage: Option<bool>,
    pub small_race: Option<bool>,
    pub two_genders: Option<bool>,
    pub ubiquitous: Option<bool>,
    pub vermin_eater: Option<bool>,
    pub vermin_fish: Option<bool>,
    pub vermin_grounder: Option<bool>,
    pub vermin_rotter: Option<bool>,
    pub vermin_soil: Option<bool>,
    pub vermin_soil_colony: Option<bool>,
}

Fields

cr_id: i32world_id: i32large_roaming: Option<bool>loose_clusters: Option<bool>mates_to_breed: Option<bool>mundane: Option<bool>occurs_as_entity_race: Option<bool>savage: Option<bool>small_race: Option<bool>two_genders: Option<bool>ubiquitous: Option<bool>vermin_eater: Option<bool>vermin_fish: Option<bool>vermin_grounder: Option<bool>vermin_rotter: Option<bool>vermin_soil: Option<bool>vermin_soil_colony: Option<bool>

Implementations

impl CreatureLZ[src]

pub fn new() -> Self[src]

Trait Implementations

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

type Target = table

The table which Self::Changeset will be updating

type Changeset = <(Eq<world_id, &'update i32>, Option<Eq<large_roaming, &'update bool>>, Option<Eq<loose_clusters, &'update bool>>, Option<Eq<mates_to_breed, &'update bool>>, Option<Eq<mundane, &'update bool>>, Option<Eq<occurs_as_entity_race, &'update bool>>, Option<Eq<savage, &'update bool>>, Option<Eq<small_race, &'update bool>>, Option<Eq<two_genders, &'update bool>>, Option<Eq<ubiquitous, &'update bool>>, Option<Eq<vermin_eater, &'update bool>>, Option<Eq<vermin_fish, &'update bool>>, Option<Eq<vermin_grounder, &'update bool>>, Option<Eq<vermin_rotter, &'update bool>>, Option<Eq<vermin_soil, &'update bool>>, Option<Eq<vermin_soil_colony, &'update bool>>) as AsChangeset>::Changeset

The update statement this type represents

impl<'update> AsChangeset for CreatureLZ[src]

type Target = table

The table which Self::Changeset will be updating

type Changeset = <(Eq<world_id, i32>, Option<Eq<large_roaming, bool>>, Option<Eq<loose_clusters, bool>>, Option<Eq<mates_to_breed, bool>>, Option<Eq<mundane, bool>>, Option<Eq<occurs_as_entity_race, bool>>, Option<Eq<savage, bool>>, Option<Eq<small_race, bool>>, Option<Eq<two_genders, bool>>, Option<Eq<ubiquitous, bool>>, Option<Eq<vermin_eater, bool>>, Option<Eq<vermin_fish, bool>>, Option<Eq<vermin_grounder, bool>>, Option<Eq<vermin_rotter, bool>>, Option<Eq<vermin_soil, bool>>, Option<Eq<vermin_soil_colony, bool>>) as AsChangeset>::Changeset

The update statement this type represents

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

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

Get a list of CreatureLZ from the database

impl Debug for CreatureLZ[src]

impl Default for CreatureLZ[src]

impl Fillable for CreatureLZ[src]

impl Filler<Creature, CreatureLZ> for Creature[src]

From DB to Core

impl Filler<CreatureLZ, Creature> for CreatureLZ[src]

From Core to DB

impl HasTable for CreatureLZ[src]

type Table = table

The table this type is associated with.

impl Hash for CreatureLZ[src]

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

type Id = &'ident i32

The type of this struct's identifier. Read more

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

type Values = <(Option<Eq<cr_id, i32>>, Option<Eq<world_id, i32>>, Option<Eq<large_roaming, bool>>, Option<Eq<loose_clusters, bool>>, Option<Eq<mates_to_breed, bool>>, Option<Eq<mundane, bool>>, Option<Eq<occurs_as_entity_race, bool>>, Option<Eq<savage, bool>>, Option<Eq<small_race, bool>>, Option<Eq<two_genders, bool>>, Option<Eq<ubiquitous, bool>>, Option<Eq<vermin_eater, bool>>, Option<Eq<vermin_fish, bool>>, Option<Eq<vermin_grounder, bool>>, Option<Eq<vermin_rotter, bool>>, Option<Eq<vermin_soil, bool>>, Option<Eq<vermin_soil_colony, bool>>) as Insertable<table>>::Values

The VALUES clause to insert these records Read more

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

type Values = <(Option<Eq<cr_id, &'insert i32>>, Option<Eq<world_id, &'insert i32>>, Option<Eq<large_roaming, &'insert bool>>, Option<Eq<loose_clusters, &'insert bool>>, Option<Eq<mates_to_breed, &'insert bool>>, Option<Eq<mundane, &'insert bool>>, Option<Eq<occurs_as_entity_race, &'insert bool>>, Option<Eq<savage, &'insert bool>>, Option<Eq<small_race, &'insert bool>>, Option<Eq<two_genders, &'insert bool>>, Option<Eq<ubiquitous, &'insert bool>>, Option<Eq<vermin_eater, &'insert bool>>, Option<Eq<vermin_fish, &'insert bool>>, Option<Eq<vermin_grounder, &'insert bool>>, Option<Eq<vermin_rotter, &'insert bool>>, Option<Eq<vermin_soil, &'insert bool>>, Option<Eq<vermin_soil_colony, &'insert bool>>) as Insertable<table>>::Values

The VALUES clause to insert these records Read more

impl PartialEq<Creature> for CreatureLZ[src]

impl PartialEq<CreatureLZ> for CreatureLZ[src]

impl PartialEq<CreatureLZ> for Creature[src]

impl<__DB: Backend, __ST> Queryable<__ST, __DB> for CreatureLZ 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>): 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>) as Queryable<__ST, __DB>>::Row

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

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

Auto Trait Implementations

impl RefUnwindSafe for CreatureLZ

impl Send for CreatureLZ

impl Sync for CreatureLZ

impl Unpin for CreatureLZ

impl UnwindSafe for CreatureLZ

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