[][src]Struct df_st_db::HistoricalEventEG

pub struct HistoricalEventEG {
    pub he_id: i32,
    pub world_id: i32,
    pub enslaved_hf_id: Option<i32>,
    pub entity_id: Option<i32>,
    pub entity_id_1: Option<i32>,
    pub entity_id_2: Option<i32>,
    pub exiled: Option<bool>,
    pub eater_hf_id: Option<i32>,
    pub failed_judgment_test: Option<bool>,
    pub feature_layer_id: Option<i32>,
    pub first: Option<bool>,
    pub fled_civ_id: Option<i32>,
    pub fooled_hf_id: Option<i32>,
    pub form_id: Option<i32>,
    pub framer_hf_id: Option<i32>,
    pub from_original: Option<bool>,
    pub gambler_hf_id: Option<i32>,
    pub ghost: Option<String>,
    pub giver_entity_id: Option<i32>,
    pub giver_hf_id: Option<i32>,
    pub group_1_hf_id: Option<i32>,
    pub group_2_hf_id: Option<i32>,
    pub group_hf_id: Option<i32>,
}

Fields

he_id: i32world_id: i32enslaved_hf_id: Option<i32>entity_id: Option<i32>entity_id_1: Option<i32>entity_id_2: Option<i32>exiled: Option<bool>eater_hf_id: Option<i32>failed_judgment_test: Option<bool>feature_layer_id: Option<i32>first: Option<bool>fled_civ_id: Option<i32>fooled_hf_id: Option<i32>form_id: Option<i32>framer_hf_id: Option<i32>from_original: Option<bool>gambler_hf_id: Option<i32>ghost: Option<String>giver_entity_id: Option<i32>giver_hf_id: Option<i32>group_1_hf_id: Option<i32>group_2_hf_id: Option<i32>group_hf_id: Option<i32>

Implementations

impl HistoricalEventEG[src]

pub fn new() -> Self[src]

Trait Implementations

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

type Target = table

The table which Self::Changeset will be updating

type Changeset = <(Eq<world_id, &'update i32>, Option<Eq<enslaved_hf_id, &'update i32>>, Option<Eq<entity_id, &'update i32>>, Option<Eq<entity_id_1, &'update i32>>, Option<Eq<entity_id_2, &'update i32>>, Option<Eq<exiled, &'update bool>>, Option<Eq<eater_hf_id, &'update i32>>, Option<Eq<failed_judgment_test, &'update bool>>, Option<Eq<feature_layer_id, &'update i32>>, Option<Eq<first, &'update bool>>, Option<Eq<fled_civ_id, &'update i32>>, Option<Eq<fooled_hf_id, &'update i32>>, Option<Eq<form_id, &'update i32>>, Option<Eq<framer_hf_id, &'update i32>>, Option<Eq<from_original, &'update bool>>, Option<Eq<gambler_hf_id, &'update i32>>, Option<Eq<ghost, &'update String>>, Option<Eq<giver_entity_id, &'update i32>>, Option<Eq<giver_hf_id, &'update i32>>, Option<Eq<group_1_hf_id, &'update i32>>, Option<Eq<group_2_hf_id, &'update i32>>, Option<Eq<group_hf_id, &'update i32>>) as AsChangeset>::Changeset

The update statement this type represents

impl<'update> AsChangeset for HistoricalEventEG[src]

type Target = table

The table which Self::Changeset will be updating

type Changeset = <(Eq<world_id, i32>, Option<Eq<enslaved_hf_id, i32>>, Option<Eq<entity_id, i32>>, Option<Eq<entity_id_1, i32>>, Option<Eq<entity_id_2, i32>>, Option<Eq<exiled, bool>>, Option<Eq<eater_hf_id, i32>>, Option<Eq<failed_judgment_test, bool>>, Option<Eq<feature_layer_id, i32>>, Option<Eq<first, bool>>, Option<Eq<fled_civ_id, i32>>, Option<Eq<fooled_hf_id, i32>>, Option<Eq<form_id, i32>>, Option<Eq<framer_hf_id, i32>>, Option<Eq<from_original, bool>>, Option<Eq<gambler_hf_id, i32>>, Option<Eq<ghost, String>>, Option<Eq<giver_entity_id, i32>>, Option<Eq<giver_hf_id, i32>>, Option<Eq<group_1_hf_id, i32>>, Option<Eq<group_2_hf_id, i32>>, Option<Eq<group_hf_id, i32>>) as AsChangeset>::Changeset

The update statement this type represents

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

type ForeignKey = __FK

The foreign key of this struct

type ForeignKeyColumn = he_id

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

impl Clone for HistoricalEventEG[src]

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

Get a list of HistoricalEventEG from the database

impl Debug for HistoricalEventEG[src]

impl Default for HistoricalEventEG[src]

impl Fillable for HistoricalEventEG[src]

impl Filler<HistoricalEvent, HistoricalEventEG> for HistoricalEvent[src]

From DB to Core

impl Filler<HistoricalEventEG, HistoricalEvent> for HistoricalEventEG[src]

From Core to DB

impl HasTable for HistoricalEventEG[src]

type Table = table

The table this type is associated with.

impl Hash for HistoricalEventEG[src]

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

type Id = &'ident i32

The type of this struct's identifier. Read more

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

type Values = <(Option<Eq<he_id, i32>>, Option<Eq<world_id, i32>>, Option<Eq<enslaved_hf_id, i32>>, Option<Eq<entity_id, i32>>, Option<Eq<entity_id_1, i32>>, Option<Eq<entity_id_2, i32>>, Option<Eq<exiled, bool>>, Option<Eq<eater_hf_id, i32>>, Option<Eq<failed_judgment_test, bool>>, Option<Eq<feature_layer_id, i32>>, Option<Eq<first, bool>>, Option<Eq<fled_civ_id, i32>>, Option<Eq<fooled_hf_id, i32>>, Option<Eq<form_id, i32>>, Option<Eq<framer_hf_id, i32>>, Option<Eq<from_original, bool>>, Option<Eq<gambler_hf_id, i32>>, Option<Eq<ghost, String>>, Option<Eq<giver_entity_id, i32>>, Option<Eq<giver_hf_id, i32>>, Option<Eq<group_1_hf_id, i32>>, Option<Eq<group_2_hf_id, i32>>, Option<Eq<group_hf_id, i32>>) as Insertable<table>>::Values

The VALUES clause to insert these records Read more

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

type Values = <(Option<Eq<he_id, &'insert i32>>, Option<Eq<world_id, &'insert i32>>, Option<Eq<enslaved_hf_id, &'insert i32>>, Option<Eq<entity_id, &'insert i32>>, Option<Eq<entity_id_1, &'insert i32>>, Option<Eq<entity_id_2, &'insert i32>>, Option<Eq<exiled, &'insert bool>>, Option<Eq<eater_hf_id, &'insert i32>>, Option<Eq<failed_judgment_test, &'insert bool>>, Option<Eq<feature_layer_id, &'insert i32>>, Option<Eq<first, &'insert bool>>, Option<Eq<fled_civ_id, &'insert i32>>, Option<Eq<fooled_hf_id, &'insert i32>>, Option<Eq<form_id, &'insert i32>>, Option<Eq<framer_hf_id, &'insert i32>>, Option<Eq<from_original, &'insert bool>>, Option<Eq<gambler_hf_id, &'insert i32>>, Option<Eq<ghost, &'insert String>>, Option<Eq<giver_entity_id, &'insert i32>>, Option<Eq<giver_hf_id, &'insert i32>>, Option<Eq<group_1_hf_id, &'insert i32>>, Option<Eq<group_2_hf_id, &'insert i32>>, Option<Eq<group_hf_id, &'insert i32>>) as Insertable<table>>::Values

The VALUES clause to insert these records Read more

impl PartialEq<HistoricalEvent> for HistoricalEventEG[src]

impl PartialEq<HistoricalEventEG> for HistoricalEventEG[src]

impl PartialEq<HistoricalEventEG> for HistoricalEvent[src]

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

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

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

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

Auto Trait Implementations

impl RefUnwindSafe for HistoricalEventEG

impl Send for HistoricalEventEG

impl Sync for HistoricalEventEG

impl Unpin for HistoricalEventEG

impl UnwindSafe for HistoricalEventEG

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