[][src]Struct df_st_db::HistoricalEventPP

pub struct HistoricalEventPP {
    pub he_id: i32,
    pub world_id: i32,
    pub partial_incorporation: Option<bool>,
    pub payer_entity_id: Option<i32>,
    pub payer_hf_id: Option<i32>,
    pub persecutor_en_id: Option<i32>,
    pub persecutor_hf_id: Option<i32>,
    pub plotter_hf_id: Option<i32>,
    pub pop_fl_id: Option<i32>,
    pub pop_number_moved: Option<i32>,
    pub pop_race: Option<i32>,
    pub pop_sr_id: Option<i32>,
    pub pos_taker_hf_id: Option<i32>,
    pub position_id: Option<i32>,
    pub position_profile_id: Option<i32>,
    pub prison_months: Option<i32>,
    pub production_zone_id: Option<i32>,
    pub promise_to_hf_id: Option<i32>,
    pub property_confiscated_from_hf_id: Option<i32>,
    pub purchased_unowned: Option<bool>,
    pub part_lost: Option<bool>,
    pub pile_type: Option<String>,
    pub position: Option<String>,
    pub props_item_mat: Option<String>,
    pub props_item_mat_index: Option<i32>,
    pub props_item_mat_type: Option<i32>,
    pub props_item_subtype: Option<String>,
    pub props_item_type: Option<String>,
    pub props_pile_type: Option<i32>,
}

Fields

he_id: i32world_id: i32partial_incorporation: Option<bool>payer_entity_id: Option<i32>payer_hf_id: Option<i32>persecutor_en_id: Option<i32>persecutor_hf_id: Option<i32>plotter_hf_id: Option<i32>pop_fl_id: Option<i32>pop_number_moved: Option<i32>pop_race: Option<i32>pop_sr_id: Option<i32>pos_taker_hf_id: Option<i32>position_id: Option<i32>position_profile_id: Option<i32>prison_months: Option<i32>production_zone_id: Option<i32>promise_to_hf_id: Option<i32>property_confiscated_from_hf_id: Option<i32>purchased_unowned: Option<bool>part_lost: Option<bool>pile_type: Option<String>position: Option<String>props_item_mat: Option<String>props_item_mat_index: Option<i32>props_item_mat_type: Option<i32>props_item_subtype: Option<String>props_item_type: Option<String>props_pile_type: Option<i32>

Implementations

impl HistoricalEventPP[src]

pub fn new() -> Self[src]

Trait Implementations

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

type Target = table

The table which Self::Changeset will be updating

type Changeset = <(Eq<world_id, &'update i32>, Option<Eq<partial_incorporation, &'update bool>>, Option<Eq<payer_entity_id, &'update i32>>, Option<Eq<payer_hf_id, &'update i32>>, Option<Eq<persecutor_en_id, &'update i32>>, Option<Eq<persecutor_hf_id, &'update i32>>, Option<Eq<plotter_hf_id, &'update i32>>, Option<Eq<pop_fl_id, &'update i32>>, Option<Eq<pop_number_moved, &'update i32>>, Option<Eq<pop_race, &'update i32>>, Option<Eq<pop_sr_id, &'update i32>>, Option<Eq<pos_taker_hf_id, &'update i32>>, Option<Eq<position_id, &'update i32>>, Option<Eq<position_profile_id, &'update i32>>, Option<Eq<prison_months, &'update i32>>, Option<Eq<production_zone_id, &'update i32>>, Option<Eq<promise_to_hf_id, &'update i32>>, Option<Eq<property_confiscated_from_hf_id, &'update i32>>, Option<Eq<purchased_unowned, &'update bool>>, Option<Eq<part_lost, &'update bool>>, Option<Eq<pile_type, &'update String>>, Option<Eq<position, &'update String>>, Option<Eq<props_item_mat, &'update String>>, Option<Eq<props_item_mat_index, &'update i32>>, Option<Eq<props_item_mat_type, &'update i32>>, Option<Eq<props_item_subtype, &'update String>>, Option<Eq<props_item_type, &'update String>>, Option<Eq<props_pile_type, &'update i32>>) as AsChangeset>::Changeset

The update statement this type represents

impl<'update> AsChangeset for HistoricalEventPP[src]

type Target = table

The table which Self::Changeset will be updating

type Changeset = <(Eq<world_id, i32>, Option<Eq<partial_incorporation, bool>>, Option<Eq<payer_entity_id, i32>>, Option<Eq<payer_hf_id, i32>>, Option<Eq<persecutor_en_id, i32>>, Option<Eq<persecutor_hf_id, i32>>, Option<Eq<plotter_hf_id, i32>>, Option<Eq<pop_fl_id, i32>>, Option<Eq<pop_number_moved, i32>>, Option<Eq<pop_race, i32>>, Option<Eq<pop_sr_id, i32>>, Option<Eq<pos_taker_hf_id, i32>>, Option<Eq<position_id, i32>>, Option<Eq<position_profile_id, i32>>, Option<Eq<prison_months, i32>>, Option<Eq<production_zone_id, i32>>, Option<Eq<promise_to_hf_id, i32>>, Option<Eq<property_confiscated_from_hf_id, i32>>, Option<Eq<purchased_unowned, bool>>, Option<Eq<part_lost, bool>>, Option<Eq<pile_type, String>>, Option<Eq<position, String>>, Option<Eq<props_item_mat, String>>, Option<Eq<props_item_mat_index, i32>>, Option<Eq<props_item_mat_type, i32>>, Option<Eq<props_item_subtype, String>>, Option<Eq<props_item_type, String>>, Option<Eq<props_pile_type, i32>>) as AsChangeset>::Changeset

The update statement this type represents

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

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

Get a list of HistoricalEventPP from the database

impl Debug for HistoricalEventPP[src]

impl Default for HistoricalEventPP[src]

impl Fillable for HistoricalEventPP[src]

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

From DB to Core

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

From Core to DB

impl HasTable for HistoricalEventPP[src]

type Table = table

The table this type is associated with.

impl Hash for HistoricalEventPP[src]

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

type Id = &'ident i32

The type of this struct's identifier. Read more

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

type Values = <(Option<Eq<he_id, i32>>, Option<Eq<world_id, i32>>, Option<Eq<partial_incorporation, bool>>, Option<Eq<payer_entity_id, i32>>, Option<Eq<payer_hf_id, i32>>, Option<Eq<persecutor_en_id, i32>>, Option<Eq<persecutor_hf_id, i32>>, Option<Eq<plotter_hf_id, i32>>, Option<Eq<pop_fl_id, i32>>, Option<Eq<pop_number_moved, i32>>, Option<Eq<pop_race, i32>>, Option<Eq<pop_sr_id, i32>>, Option<Eq<pos_taker_hf_id, i32>>, Option<Eq<position_id, i32>>, Option<Eq<position_profile_id, i32>>, Option<Eq<prison_months, i32>>, Option<Eq<production_zone_id, i32>>, Option<Eq<promise_to_hf_id, i32>>, Option<Eq<property_confiscated_from_hf_id, i32>>, Option<Eq<purchased_unowned, bool>>, Option<Eq<part_lost, bool>>, Option<Eq<pile_type, String>>, Option<Eq<position, String>>, Option<Eq<props_item_mat, String>>, Option<Eq<props_item_mat_index, i32>>, Option<Eq<props_item_mat_type, i32>>, Option<Eq<props_item_subtype, String>>, Option<Eq<props_item_type, String>>, Option<Eq<props_pile_type, i32>>) as Insertable<table>>::Values

The VALUES clause to insert these records Read more

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

type Values = <(Option<Eq<he_id, &'insert i32>>, Option<Eq<world_id, &'insert i32>>, Option<Eq<partial_incorporation, &'insert bool>>, Option<Eq<payer_entity_id, &'insert i32>>, Option<Eq<payer_hf_id, &'insert i32>>, Option<Eq<persecutor_en_id, &'insert i32>>, Option<Eq<persecutor_hf_id, &'insert i32>>, Option<Eq<plotter_hf_id, &'insert i32>>, Option<Eq<pop_fl_id, &'insert i32>>, Option<Eq<pop_number_moved, &'insert i32>>, Option<Eq<pop_race, &'insert i32>>, Option<Eq<pop_sr_id, &'insert i32>>, Option<Eq<pos_taker_hf_id, &'insert i32>>, Option<Eq<position_id, &'insert i32>>, Option<Eq<position_profile_id, &'insert i32>>, Option<Eq<prison_months, &'insert i32>>, Option<Eq<production_zone_id, &'insert i32>>, Option<Eq<promise_to_hf_id, &'insert i32>>, Option<Eq<property_confiscated_from_hf_id, &'insert i32>>, Option<Eq<purchased_unowned, &'insert bool>>, Option<Eq<part_lost, &'insert bool>>, Option<Eq<pile_type, &'insert String>>, Option<Eq<position, &'insert String>>, Option<Eq<props_item_mat, &'insert String>>, Option<Eq<props_item_mat_index, &'insert i32>>, Option<Eq<props_item_mat_type, &'insert i32>>, Option<Eq<props_item_subtype, &'insert String>>, Option<Eq<props_item_type, &'insert String>>, Option<Eq<props_pile_type, &'insert i32>>) as Insertable<table>>::Values

The VALUES clause to insert these records Read more

impl PartialEq<HistoricalEvent> for HistoricalEventPP[src]

impl PartialEq<HistoricalEventPP> for HistoricalEventPP[src]

impl PartialEq<HistoricalEventPP> for HistoricalEvent[src]

impl<__DB: Backend, __ST> Queryable<__ST, __DB> for HistoricalEventPP where
    (i32, i32, Option<bool>, 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<i32>, Option<i32>, Option<bool>, Option<bool>, Option<String>, Option<String>, Option<String>, Option<i32>, Option<i32>, Option<String>, Option<String>, Option<i32>): Queryable<__ST, __DB>, 
[src]

type Row = <(i32, i32, Option<bool>, 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<i32>, Option<i32>, Option<bool>, Option<bool>, Option<String>, Option<String>, Option<String>, Option<i32>, Option<i32>, Option<String>, Option<String>, Option<i32>) as Queryable<__ST, __DB>>::Row

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

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

Auto Trait Implementations

impl RefUnwindSafe for HistoricalEventPP

impl Send for HistoricalEventPP

impl Sync for HistoricalEventPP

impl Unpin for HistoricalEventPP

impl UnwindSafe for HistoricalEventPP

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