[][src]Struct df_st_db::HistoricalEventAA

pub struct HistoricalEventAA {
    pub he_id: i32,
    pub world_id: i32,
    pub a_leader_hf_id: Option<i32>,
    pub a_leadership_roll: Option<i32>,
    pub a_squad_id: Option<i32>,
    pub a_support_merc_en_id: Option<i32>,
    pub a_tactician_hf_id: Option<i32>,
    pub a_tactics_roll: Option<i32>,
    pub abandoned: Option<bool>,
    pub account_shift: Option<i32>,
    pub acquirer_en_id: Option<i32>,
    pub acquirer_hf_id: Option<i32>,
    pub action: Option<String>,
    pub actor_hf_id: Option<i32>,
    pub agreement_id: Option<i32>,
    pub allotment: Option<i32>,
    pub allotment_index: Option<i32>,
    pub ally_defense_bonus: Option<i32>,
    pub appointer_hf_id: Option<i32>,
    pub arresting_en_id: Option<i32>,
    pub art_id: Option<i32>,
    pub art_sub_id: Option<i32>,
    pub artifact_id: Option<i32>,
    pub attacker_civ_id: Option<i32>,
    pub attacker_general_hf_id: Option<i32>,
    pub attacker_hf_id: Option<i32>,
    pub attacker_merc_en_id: Option<i32>,
    pub abuse_type: Option<String>,
    pub anon_3: Option<i32>,
    pub anon_4: Option<i32>,
}

Fields

he_id: i32world_id: i32a_leader_hf_id: Option<i32>a_leadership_roll: Option<i32>a_squad_id: Option<i32>a_support_merc_en_id: Option<i32>a_tactician_hf_id: Option<i32>a_tactics_roll: Option<i32>abandoned: Option<bool>account_shift: Option<i32>acquirer_en_id: Option<i32>acquirer_hf_id: Option<i32>action: Option<String>actor_hf_id: Option<i32>agreement_id: Option<i32>allotment: Option<i32>allotment_index: Option<i32>ally_defense_bonus: Option<i32>appointer_hf_id: Option<i32>arresting_en_id: Option<i32>art_id: Option<i32>art_sub_id: Option<i32>artifact_id: Option<i32>attacker_civ_id: Option<i32>attacker_general_hf_id: Option<i32>attacker_hf_id: Option<i32>attacker_merc_en_id: Option<i32>abuse_type: Option<String>anon_3: Option<i32>anon_4: Option<i32>

Implementations

impl HistoricalEventAA[src]

pub fn new() -> Self[src]

Trait Implementations

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

type Target = table

The table which Self::Changeset will be updating

type Changeset = <(Eq<world_id, &'update i32>, Option<Eq<a_leader_hf_id, &'update i32>>, Option<Eq<a_leadership_roll, &'update i32>>, Option<Eq<a_squad_id, &'update i32>>, Option<Eq<a_support_merc_en_id, &'update i32>>, Option<Eq<a_tactician_hf_id, &'update i32>>, Option<Eq<a_tactics_roll, &'update i32>>, Option<Eq<abandoned, &'update bool>>, Option<Eq<account_shift, &'update i32>>, Option<Eq<acquirer_en_id, &'update i32>>, Option<Eq<acquirer_hf_id, &'update i32>>, Option<Eq<action, &'update String>>, Option<Eq<actor_hf_id, &'update i32>>, Option<Eq<agreement_id, &'update i32>>, Option<Eq<allotment, &'update i32>>, Option<Eq<allotment_index, &'update i32>>, Option<Eq<ally_defense_bonus, &'update i32>>, Option<Eq<appointer_hf_id, &'update i32>>, Option<Eq<arresting_en_id, &'update i32>>, Option<Eq<art_id, &'update i32>>, Option<Eq<art_sub_id, &'update i32>>, Option<Eq<artifact_id, &'update i32>>, Option<Eq<attacker_civ_id, &'update i32>>, Option<Eq<attacker_general_hf_id, &'update i32>>, Option<Eq<attacker_hf_id, &'update i32>>, Option<Eq<attacker_merc_en_id, &'update i32>>, Option<Eq<abuse_type, &'update String>>, Option<Eq<anon_3, &'update i32>>, Option<Eq<anon_4, &'update i32>>) as AsChangeset>::Changeset

The update statement this type represents

impl<'update> AsChangeset for HistoricalEventAA[src]

type Target = table

The table which Self::Changeset will be updating

type Changeset = <(Eq<world_id, i32>, Option<Eq<a_leader_hf_id, i32>>, Option<Eq<a_leadership_roll, i32>>, Option<Eq<a_squad_id, i32>>, Option<Eq<a_support_merc_en_id, i32>>, Option<Eq<a_tactician_hf_id, i32>>, Option<Eq<a_tactics_roll, i32>>, Option<Eq<abandoned, bool>>, Option<Eq<account_shift, i32>>, Option<Eq<acquirer_en_id, i32>>, Option<Eq<acquirer_hf_id, i32>>, Option<Eq<action, String>>, Option<Eq<actor_hf_id, i32>>, Option<Eq<agreement_id, i32>>, Option<Eq<allotment, i32>>, Option<Eq<allotment_index, i32>>, Option<Eq<ally_defense_bonus, i32>>, Option<Eq<appointer_hf_id, i32>>, Option<Eq<arresting_en_id, i32>>, Option<Eq<art_id, i32>>, Option<Eq<art_sub_id, i32>>, Option<Eq<artifact_id, i32>>, Option<Eq<attacker_civ_id, i32>>, Option<Eq<attacker_general_hf_id, i32>>, Option<Eq<attacker_hf_id, i32>>, Option<Eq<attacker_merc_en_id, i32>>, Option<Eq<abuse_type, String>>, Option<Eq<anon_3, i32>>, Option<Eq<anon_4, i32>>) as AsChangeset>::Changeset

The update statement this type represents

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

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

Get a list of HistoricalEventAA from the database

impl Debug for HistoricalEventAA[src]

impl Default for HistoricalEventAA[src]

impl Fillable for HistoricalEventAA[src]

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

From DB to Core

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

From Core to DB

impl HasTable for HistoricalEventAA[src]

type Table = table

The table this type is associated with.

impl Hash for HistoricalEventAA[src]

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

type Id = &'ident i32

The type of this struct's identifier. Read more

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

type Values = <(Option<Eq<he_id, i32>>, Option<Eq<world_id, i32>>, Option<Eq<a_leader_hf_id, i32>>, Option<Eq<a_leadership_roll, i32>>, Option<Eq<a_squad_id, i32>>, Option<Eq<a_support_merc_en_id, i32>>, Option<Eq<a_tactician_hf_id, i32>>, Option<Eq<a_tactics_roll, i32>>, Option<Eq<abandoned, bool>>, Option<Eq<account_shift, i32>>, Option<Eq<acquirer_en_id, i32>>, Option<Eq<acquirer_hf_id, i32>>, Option<Eq<action, String>>, Option<Eq<actor_hf_id, i32>>, Option<Eq<agreement_id, i32>>, Option<Eq<allotment, i32>>, Option<Eq<allotment_index, i32>>, Option<Eq<ally_defense_bonus, i32>>, Option<Eq<appointer_hf_id, i32>>, Option<Eq<arresting_en_id, i32>>, Option<Eq<art_id, i32>>, Option<Eq<art_sub_id, i32>>, Option<Eq<artifact_id, i32>>, Option<Eq<attacker_civ_id, i32>>, Option<Eq<attacker_general_hf_id, i32>>, Option<Eq<attacker_hf_id, i32>>, Option<Eq<attacker_merc_en_id, i32>>, Option<Eq<abuse_type, String>>, Option<Eq<anon_3, i32>>, Option<Eq<anon_4, i32>>) as Insertable<table>>::Values

The VALUES clause to insert these records Read more

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

type Values = <(Option<Eq<he_id, &'insert i32>>, Option<Eq<world_id, &'insert i32>>, Option<Eq<a_leader_hf_id, &'insert i32>>, Option<Eq<a_leadership_roll, &'insert i32>>, Option<Eq<a_squad_id, &'insert i32>>, Option<Eq<a_support_merc_en_id, &'insert i32>>, Option<Eq<a_tactician_hf_id, &'insert i32>>, Option<Eq<a_tactics_roll, &'insert i32>>, Option<Eq<abandoned, &'insert bool>>, Option<Eq<account_shift, &'insert i32>>, Option<Eq<acquirer_en_id, &'insert i32>>, Option<Eq<acquirer_hf_id, &'insert i32>>, Option<Eq<action, &'insert String>>, Option<Eq<actor_hf_id, &'insert i32>>, Option<Eq<agreement_id, &'insert i32>>, Option<Eq<allotment, &'insert i32>>, Option<Eq<allotment_index, &'insert i32>>, Option<Eq<ally_defense_bonus, &'insert i32>>, Option<Eq<appointer_hf_id, &'insert i32>>, Option<Eq<arresting_en_id, &'insert i32>>, Option<Eq<art_id, &'insert i32>>, Option<Eq<art_sub_id, &'insert i32>>, Option<Eq<artifact_id, &'insert i32>>, Option<Eq<attacker_civ_id, &'insert i32>>, Option<Eq<attacker_general_hf_id, &'insert i32>>, Option<Eq<attacker_hf_id, &'insert i32>>, Option<Eq<attacker_merc_en_id, &'insert i32>>, Option<Eq<abuse_type, &'insert String>>, Option<Eq<anon_3, &'insert i32>>, Option<Eq<anon_4, &'insert i32>>) as Insertable<table>>::Values

The VALUES clause to insert these records Read more

impl PartialEq<HistoricalEvent> for HistoricalEventAA[src]

impl PartialEq<HistoricalEventAA> for HistoricalEventAA[src]

impl PartialEq<HistoricalEventAA> for HistoricalEvent[src]

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

type Row = <(i32, i32, Option<i32>, Option<i32>, Option<i32>, Option<i32>, Option<i32>, Option<i32>, Option<bool>, Option<i32>, Option<i32>, Option<i32>, Option<String>, Option<i32>, Option<i32>, Option<i32>, Option<i32>, Option<i32>, Option<i32>, Option<i32>, Option<i32>, Option<i32>, Option<i32>, Option<i32>, Option<i32>, Option<i32>, Option<i32>, Option<String>, 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 HistoricalEventAA[src]

Auto Trait Implementations

impl RefUnwindSafe for HistoricalEventAA

impl Send for HistoricalEventAA

impl Sync for HistoricalEventAA

impl Unpin for HistoricalEventAA

impl UnwindSafe for HistoricalEventAA

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