[][src]Struct df_st_db::HistoricalEventII

pub struct HistoricalEventII {
    pub he_id: i32,
    pub world_id: i32,
    pub identity_id: Option<i32>,
    pub identity_id1: Option<i32>,
    pub identity_id2: Option<i32>,
    pub inherited: Option<bool>,
    pub initiating_en_id: Option<i32>,
    pub instigator_hf_id: Option<i32>,
    pub interaction: Option<i32>,
    pub interrogator_hf_id: Option<i32>,
    pub identity_caste: Option<String>,
    pub identity_hf_id: Option<i32>,
    pub identity_name: Option<String>,
    pub identity_nemesis_id: Option<i32>,
    pub identity_race: Option<String>,
    pub imp_mat: Option<String>,
    pub imp_mat_index: Option<i32>,
    pub imp_mat_type: Option<i32>,
    pub improvement_subtype: Option<String>,
    pub improvement_type: Option<String>,
    pub injury_type: Option<String>,
    pub interaction_action: Option<String>,
    pub interaction_string: Option<String>,
    pub item_id: Option<i32>,
    pub item_mat: Option<String>,
    pub item_subtype: Option<String>,
    pub item_type: Option<String>,
}

Fields

he_id: i32world_id: i32identity_id: Option<i32>identity_id1: Option<i32>identity_id2: Option<i32>inherited: Option<bool>initiating_en_id: Option<i32>instigator_hf_id: Option<i32>interaction: Option<i32>interrogator_hf_id: Option<i32>identity_caste: Option<String>identity_hf_id: Option<i32>identity_name: Option<String>identity_nemesis_id: Option<i32>identity_race: Option<String>imp_mat: Option<String>imp_mat_index: Option<i32>imp_mat_type: Option<i32>improvement_subtype: Option<String>improvement_type: Option<String>injury_type: Option<String>interaction_action: Option<String>interaction_string: Option<String>item_id: Option<i32>item_mat: Option<String>item_subtype: Option<String>item_type: Option<String>

Implementations

impl HistoricalEventII[src]

pub fn new() -> Self[src]

Trait Implementations

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

type Target = table

The table which Self::Changeset will be updating

type Changeset = <(Eq<world_id, &'update i32>, Option<Eq<identity_id, &'update i32>>, Option<Eq<identity_id1, &'update i32>>, Option<Eq<identity_id2, &'update i32>>, Option<Eq<inherited, &'update bool>>, Option<Eq<initiating_en_id, &'update i32>>, Option<Eq<instigator_hf_id, &'update i32>>, Option<Eq<interaction, &'update i32>>, Option<Eq<interrogator_hf_id, &'update i32>>, Option<Eq<identity_caste, &'update String>>, Option<Eq<identity_hf_id, &'update i32>>, Option<Eq<identity_name, &'update String>>, Option<Eq<identity_nemesis_id, &'update i32>>, Option<Eq<identity_race, &'update String>>, Option<Eq<imp_mat, &'update String>>, Option<Eq<imp_mat_index, &'update i32>>, Option<Eq<imp_mat_type, &'update i32>>, Option<Eq<improvement_subtype, &'update String>>, Option<Eq<improvement_type, &'update String>>, Option<Eq<injury_type, &'update String>>, Option<Eq<interaction_action, &'update String>>, Option<Eq<interaction_string, &'update String>>, Option<Eq<item_id, &'update i32>>, Option<Eq<item_mat, &'update String>>, Option<Eq<item_subtype, &'update String>>, Option<Eq<item_type, &'update String>>) as AsChangeset>::Changeset

The update statement this type represents

impl<'update> AsChangeset for HistoricalEventII[src]

type Target = table

The table which Self::Changeset will be updating

type Changeset = <(Eq<world_id, i32>, Option<Eq<identity_id, i32>>, Option<Eq<identity_id1, i32>>, Option<Eq<identity_id2, i32>>, Option<Eq<inherited, bool>>, Option<Eq<initiating_en_id, i32>>, Option<Eq<instigator_hf_id, i32>>, Option<Eq<interaction, i32>>, Option<Eq<interrogator_hf_id, i32>>, Option<Eq<identity_caste, String>>, Option<Eq<identity_hf_id, i32>>, Option<Eq<identity_name, String>>, Option<Eq<identity_nemesis_id, i32>>, Option<Eq<identity_race, String>>, Option<Eq<imp_mat, String>>, Option<Eq<imp_mat_index, i32>>, Option<Eq<imp_mat_type, i32>>, Option<Eq<improvement_subtype, String>>, Option<Eq<improvement_type, String>>, Option<Eq<injury_type, String>>, Option<Eq<interaction_action, String>>, Option<Eq<interaction_string, String>>, Option<Eq<item_id, i32>>, Option<Eq<item_mat, String>>, Option<Eq<item_subtype, String>>, Option<Eq<item_type, String>>) as AsChangeset>::Changeset

The update statement this type represents

impl<__FK> BelongsTo<HistoricalEvent> for HistoricalEventII 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 HistoricalEventII[src]

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

Get a list of HistoricalEventII from the database

impl Debug for HistoricalEventII[src]

impl Default for HistoricalEventII[src]

impl Fillable for HistoricalEventII[src]

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

From DB to Core

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

From Core to DB

impl HasTable for HistoricalEventII[src]

type Table = table

The table this type is associated with.

impl Hash for HistoricalEventII[src]

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

type Id = &'ident i32

The type of this struct's identifier. Read more

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

type Values = <(Option<Eq<he_id, i32>>, Option<Eq<world_id, i32>>, Option<Eq<identity_id, i32>>, Option<Eq<identity_id1, i32>>, Option<Eq<identity_id2, i32>>, Option<Eq<inherited, bool>>, Option<Eq<initiating_en_id, i32>>, Option<Eq<instigator_hf_id, i32>>, Option<Eq<interaction, i32>>, Option<Eq<interrogator_hf_id, i32>>, Option<Eq<identity_caste, String>>, Option<Eq<identity_hf_id, i32>>, Option<Eq<identity_name, String>>, Option<Eq<identity_nemesis_id, i32>>, Option<Eq<identity_race, String>>, Option<Eq<imp_mat, String>>, Option<Eq<imp_mat_index, i32>>, Option<Eq<imp_mat_type, i32>>, Option<Eq<improvement_subtype, String>>, Option<Eq<improvement_type, String>>, Option<Eq<injury_type, String>>, Option<Eq<interaction_action, String>>, Option<Eq<interaction_string, String>>, Option<Eq<item_id, i32>>, Option<Eq<item_mat, String>>, Option<Eq<item_subtype, String>>, Option<Eq<item_type, String>>) as Insertable<table>>::Values

The VALUES clause to insert these records Read more

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

type Values = <(Option<Eq<he_id, &'insert i32>>, Option<Eq<world_id, &'insert i32>>, Option<Eq<identity_id, &'insert i32>>, Option<Eq<identity_id1, &'insert i32>>, Option<Eq<identity_id2, &'insert i32>>, Option<Eq<inherited, &'insert bool>>, Option<Eq<initiating_en_id, &'insert i32>>, Option<Eq<instigator_hf_id, &'insert i32>>, Option<Eq<interaction, &'insert i32>>, Option<Eq<interrogator_hf_id, &'insert i32>>, Option<Eq<identity_caste, &'insert String>>, Option<Eq<identity_hf_id, &'insert i32>>, Option<Eq<identity_name, &'insert String>>, Option<Eq<identity_nemesis_id, &'insert i32>>, Option<Eq<identity_race, &'insert String>>, Option<Eq<imp_mat, &'insert String>>, Option<Eq<imp_mat_index, &'insert i32>>, Option<Eq<imp_mat_type, &'insert i32>>, Option<Eq<improvement_subtype, &'insert String>>, Option<Eq<improvement_type, &'insert String>>, Option<Eq<injury_type, &'insert String>>, Option<Eq<interaction_action, &'insert String>>, Option<Eq<interaction_string, &'insert String>>, Option<Eq<item_id, &'insert i32>>, Option<Eq<item_mat, &'insert String>>, Option<Eq<item_subtype, &'insert String>>, Option<Eq<item_type, &'insert String>>) as Insertable<table>>::Values

The VALUES clause to insert these records Read more

impl PartialEq<HistoricalEvent> for HistoricalEventII[src]

impl PartialEq<HistoricalEventII> for HistoricalEventII[src]

impl PartialEq<HistoricalEventII> for HistoricalEvent[src]

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

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

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

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

Auto Trait Implementations

impl RefUnwindSafe for HistoricalEventII

impl Send for HistoricalEventII

impl Sync for HistoricalEventII

impl Unpin for HistoricalEventII

impl UnwindSafe for HistoricalEventII

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