[][src]Struct df_st_db::CreatureHH2

pub struct CreatureHH2 {
    pub cr_id: i32,
    pub world_id: i32,
    pub has_any_megabeast: Option<bool>,
    pub has_any_mischievous: Option<bool>,
    pub has_any_natural_animal: Option<bool>,
    pub has_any_night_creature: Option<bool>,
    pub has_any_night_creature_bogeyman: Option<bool>,
    pub has_any_night_creature_experimenter: Option<bool>,
    pub has_any_night_creature_hunter: Option<bool>,
    pub has_any_night_creature_nightmare: Option<bool>,
    pub has_any_not_fireimmune: Option<bool>,
    pub has_any_not_flier: Option<bool>,
    pub has_any_not_living: Option<bool>,
    pub has_any_outsider_controllable: Option<bool>,
    pub has_any_power: Option<bool>,
    pub has_any_race_gait: Option<bool>,
    pub has_any_semimegabeast: Option<bool>,
    pub has_any_slow_learner: Option<bool>,
    pub has_any_supernatural: Option<bool>,
    pub has_any_titan: Option<bool>,
    pub has_any_unique_demon: Option<bool>,
    pub has_any_utterances: Option<bool>,
    pub has_any_vermin_hateable: Option<bool>,
    pub has_any_vermin_micro: Option<bool>,
    pub has_female: Option<bool>,
    pub has_male: Option<bool>,
}

Fields

cr_id: i32world_id: i32has_any_megabeast: Option<bool>has_any_mischievous: Option<bool>has_any_natural_animal: Option<bool>has_any_night_creature: Option<bool>has_any_night_creature_bogeyman: Option<bool>has_any_night_creature_experimenter: Option<bool>has_any_night_creature_hunter: Option<bool>has_any_night_creature_nightmare: Option<bool>has_any_not_fireimmune: Option<bool>has_any_not_flier: Option<bool>has_any_not_living: Option<bool>has_any_outsider_controllable: Option<bool>has_any_power: Option<bool>has_any_race_gait: Option<bool>has_any_semimegabeast: Option<bool>has_any_slow_learner: Option<bool>has_any_supernatural: Option<bool>has_any_titan: Option<bool>has_any_unique_demon: Option<bool>has_any_utterances: Option<bool>has_any_vermin_hateable: Option<bool>has_any_vermin_micro: Option<bool>has_female: Option<bool>has_male: Option<bool>

Implementations

impl CreatureHH2[src]

pub fn new() -> Self[src]

Trait Implementations

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

type Target = table

The table which Self::Changeset will be updating

type Changeset = <(Eq<world_id, &'update i32>, Option<Eq<has_any_megabeast, &'update bool>>, Option<Eq<has_any_mischievous, &'update bool>>, Option<Eq<has_any_natural_animal, &'update bool>>, Option<Eq<has_any_night_creature, &'update bool>>, Option<Eq<has_any_night_creature_bogeyman, &'update bool>>, Option<Eq<has_any_night_creature_experimenter, &'update bool>>, Option<Eq<has_any_night_creature_hunter, &'update bool>>, Option<Eq<has_any_night_creature_nightmare, &'update bool>>, Option<Eq<has_any_not_fireimmune, &'update bool>>, Option<Eq<has_any_not_flier, &'update bool>>, Option<Eq<has_any_not_living, &'update bool>>, Option<Eq<has_any_outsider_controllable, &'update bool>>, Option<Eq<has_any_power, &'update bool>>, Option<Eq<has_any_race_gait, &'update bool>>, Option<Eq<has_any_semimegabeast, &'update bool>>, Option<Eq<has_any_slow_learner, &'update bool>>, Option<Eq<has_any_supernatural, &'update bool>>, Option<Eq<has_any_titan, &'update bool>>, Option<Eq<has_any_unique_demon, &'update bool>>, Option<Eq<has_any_utterances, &'update bool>>, Option<Eq<has_any_vermin_hateable, &'update bool>>, Option<Eq<has_any_vermin_micro, &'update bool>>, Option<Eq<has_female, &'update bool>>, Option<Eq<has_male, &'update bool>>) as AsChangeset>::Changeset

The update statement this type represents

impl<'update> AsChangeset for CreatureHH2[src]

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

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

Get a list of CreatureHH2 from the database

impl Debug for CreatureHH2[src]

impl Default for CreatureHH2[src]

impl Fillable for CreatureHH2[src]

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

From DB to Core

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

From Core to DB

impl HasTable for CreatureHH2[src]

type Table = table

The table this type is associated with.

impl Hash for CreatureHH2[src]

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

type Id = &'ident i32

The type of this struct's identifier. Read more

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

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

type Values = <(Option<Eq<cr_id, &'insert i32>>, Option<Eq<world_id, &'insert i32>>, Option<Eq<has_any_megabeast, &'insert bool>>, Option<Eq<has_any_mischievous, &'insert bool>>, Option<Eq<has_any_natural_animal, &'insert bool>>, Option<Eq<has_any_night_creature, &'insert bool>>, Option<Eq<has_any_night_creature_bogeyman, &'insert bool>>, Option<Eq<has_any_night_creature_experimenter, &'insert bool>>, Option<Eq<has_any_night_creature_hunter, &'insert bool>>, Option<Eq<has_any_night_creature_nightmare, &'insert bool>>, Option<Eq<has_any_not_fireimmune, &'insert bool>>, Option<Eq<has_any_not_flier, &'insert bool>>, Option<Eq<has_any_not_living, &'insert bool>>, Option<Eq<has_any_outsider_controllable, &'insert bool>>, Option<Eq<has_any_power, &'insert bool>>, Option<Eq<has_any_race_gait, &'insert bool>>, Option<Eq<has_any_semimegabeast, &'insert bool>>, Option<Eq<has_any_slow_learner, &'insert bool>>, Option<Eq<has_any_supernatural, &'insert bool>>, Option<Eq<has_any_titan, &'insert bool>>, Option<Eq<has_any_unique_demon, &'insert bool>>, Option<Eq<has_any_utterances, &'insert bool>>, Option<Eq<has_any_vermin_hateable, &'insert bool>>, Option<Eq<has_any_vermin_micro, &'insert bool>>, Option<Eq<has_female, &'insert bool>>, Option<Eq<has_male, &'insert bool>>) as Insertable<table>>::Values

The VALUES clause to insert these records Read more

impl PartialEq<Creature> for CreatureHH2[src]

impl PartialEq<CreatureHH2> for CreatureHH2[src]

impl PartialEq<CreatureHH2> for Creature[src]

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

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

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

Auto Trait Implementations

impl RefUnwindSafe for CreatureHH2

impl Send for CreatureHH2

impl Sync for CreatureHH2

impl Unpin for CreatureHH2

impl UnwindSafe for CreatureHH2

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