[][src]Struct df_st_db::CreatureHH1

pub struct CreatureHH1 {
    pub cr_id: i32,
    pub world_id: i32,
    pub has_any_benign: Option<bool>,
    pub has_any_can_swim: Option<bool>,
    pub has_any_cannot_breathe_air: Option<bool>,
    pub has_any_cannot_breathe_water: Option<bool>,
    pub has_any_carnivore: Option<bool>,
    pub has_any_common_domestic: Option<bool>,
    pub has_any_curious_beast: Option<bool>,
    pub has_any_demon: Option<bool>,
    pub has_any_feature_beast: Option<bool>,
    pub has_any_flier: Option<bool>,
    pub has_any_fly_race_gait: Option<bool>,
    pub has_any_grasp: Option<bool>,
    pub has_any_grazer: Option<bool>,
    pub has_any_has_blood: Option<bool>,
    pub has_any_immobile: Option<bool>,
    pub has_any_intelligent_learns: Option<bool>,
    pub has_any_intelligent_speaks: Option<bool>,
    pub has_any_large_predator: Option<bool>,
    pub has_any_local_pops_controllable: Option<bool>,
    pub has_any_local_pops_produce_heroes: Option<bool>,
}

Fields

cr_id: i32world_id: i32has_any_benign: Option<bool>has_any_can_swim: Option<bool>has_any_cannot_breathe_air: Option<bool>has_any_cannot_breathe_water: Option<bool>has_any_carnivore: Option<bool>has_any_common_domestic: Option<bool>has_any_curious_beast: Option<bool>has_any_demon: Option<bool>has_any_feature_beast: Option<bool>has_any_flier: Option<bool>has_any_fly_race_gait: Option<bool>has_any_grasp: Option<bool>has_any_grazer: Option<bool>has_any_has_blood: Option<bool>has_any_immobile: Option<bool>has_any_intelligent_learns: Option<bool>has_any_intelligent_speaks: Option<bool>has_any_large_predator: Option<bool>has_any_local_pops_controllable: Option<bool>has_any_local_pops_produce_heroes: Option<bool>

Implementations

impl CreatureHH1[src]

pub fn new() -> Self[src]

Trait Implementations

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

type Target = table

The table which Self::Changeset will be updating

type Changeset = <(Eq<world_id, &'update i32>, Option<Eq<has_any_benign, &'update bool>>, Option<Eq<has_any_can_swim, &'update bool>>, Option<Eq<has_any_cannot_breathe_air, &'update bool>>, Option<Eq<has_any_cannot_breathe_water, &'update bool>>, Option<Eq<has_any_carnivore, &'update bool>>, Option<Eq<has_any_common_domestic, &'update bool>>, Option<Eq<has_any_curious_beast, &'update bool>>, Option<Eq<has_any_demon, &'update bool>>, Option<Eq<has_any_feature_beast, &'update bool>>, Option<Eq<has_any_flier, &'update bool>>, Option<Eq<has_any_fly_race_gait, &'update bool>>, Option<Eq<has_any_grasp, &'update bool>>, Option<Eq<has_any_grazer, &'update bool>>, Option<Eq<has_any_has_blood, &'update bool>>, Option<Eq<has_any_immobile, &'update bool>>, Option<Eq<has_any_intelligent_learns, &'update bool>>, Option<Eq<has_any_intelligent_speaks, &'update bool>>, Option<Eq<has_any_large_predator, &'update bool>>, Option<Eq<has_any_local_pops_controllable, &'update bool>>, Option<Eq<has_any_local_pops_produce_heroes, &'update bool>>) as AsChangeset>::Changeset

The update statement this type represents

impl<'update> AsChangeset for CreatureHH1[src]

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

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

Get a list of CreatureHH1 from the database

impl Debug for CreatureHH1[src]

impl Default for CreatureHH1[src]

impl Fillable for CreatureHH1[src]

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

From DB to Core

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

From Core to DB

impl HasTable for CreatureHH1[src]

type Table = table

The table this type is associated with.

impl Hash for CreatureHH1[src]

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

type Id = &'ident i32

The type of this struct's identifier. Read more

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

type Values = <(Option<Eq<cr_id, i32>>, Option<Eq<world_id, i32>>, Option<Eq<has_any_benign, bool>>, Option<Eq<has_any_can_swim, bool>>, Option<Eq<has_any_cannot_breathe_air, bool>>, Option<Eq<has_any_cannot_breathe_water, bool>>, Option<Eq<has_any_carnivore, bool>>, Option<Eq<has_any_common_domestic, bool>>, Option<Eq<has_any_curious_beast, bool>>, Option<Eq<has_any_demon, bool>>, Option<Eq<has_any_feature_beast, bool>>, Option<Eq<has_any_flier, bool>>, Option<Eq<has_any_fly_race_gait, bool>>, Option<Eq<has_any_grasp, bool>>, Option<Eq<has_any_grazer, bool>>, Option<Eq<has_any_has_blood, bool>>, Option<Eq<has_any_immobile, bool>>, Option<Eq<has_any_intelligent_learns, bool>>, Option<Eq<has_any_intelligent_speaks, bool>>, Option<Eq<has_any_large_predator, bool>>, Option<Eq<has_any_local_pops_controllable, bool>>, Option<Eq<has_any_local_pops_produce_heroes, bool>>) as Insertable<table>>::Values

The VALUES clause to insert these records Read more

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

type Values = <(Option<Eq<cr_id, &'insert i32>>, Option<Eq<world_id, &'insert i32>>, Option<Eq<has_any_benign, &'insert bool>>, Option<Eq<has_any_can_swim, &'insert bool>>, Option<Eq<has_any_cannot_breathe_air, &'insert bool>>, Option<Eq<has_any_cannot_breathe_water, &'insert bool>>, Option<Eq<has_any_carnivore, &'insert bool>>, Option<Eq<has_any_common_domestic, &'insert bool>>, Option<Eq<has_any_curious_beast, &'insert bool>>, Option<Eq<has_any_demon, &'insert bool>>, Option<Eq<has_any_feature_beast, &'insert bool>>, Option<Eq<has_any_flier, &'insert bool>>, Option<Eq<has_any_fly_race_gait, &'insert bool>>, Option<Eq<has_any_grasp, &'insert bool>>, Option<Eq<has_any_grazer, &'insert bool>>, Option<Eq<has_any_has_blood, &'insert bool>>, Option<Eq<has_any_immobile, &'insert bool>>, Option<Eq<has_any_intelligent_learns, &'insert bool>>, Option<Eq<has_any_intelligent_speaks, &'insert bool>>, Option<Eq<has_any_large_predator, &'insert bool>>, Option<Eq<has_any_local_pops_controllable, &'insert bool>>, Option<Eq<has_any_local_pops_produce_heroes, &'insert bool>>) as Insertable<table>>::Values

The VALUES clause to insert these records Read more

impl PartialEq<Creature> for CreatureHH1[src]

impl PartialEq<CreatureHH1> for CreatureHH1[src]

impl PartialEq<CreatureHH1> for Creature[src]

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

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

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

Auto Trait Implementations

impl RefUnwindSafe for CreatureHH1

impl Send for CreatureHH1

impl Sync for CreatureHH1

impl Unpin for CreatureHH1

impl UnwindSafe for CreatureHH1

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