[][src]Struct df_st_db::HistoricalEventSS1

pub struct HistoricalEventSS1 {
    pub he_id: i32,
    pub world_id: i32,
    pub saboteur_hf_id: Option<i32>,
    pub sanctify_hf_id: Option<i32>,
    pub schedule_id: Option<i32>,
    pub searcher_civ_id: Option<i32>,
    pub season: Option<String>,
    pub secret_goal: Option<String>,
    pub seeker_hf_id: Option<i32>,
    pub seller_hf_id: Option<i32>,
    pub shrine_amount_destroyed: Option<i32>,
    pub site_civ_id: Option<i32>,
    pub site_entity_id: Option<i32>,
    pub site_hf_id: Option<i32>,
    pub site_id: Option<i32>,
    pub site_id_1: Option<i32>,
    pub site_id_2: Option<i32>,
    pub site_property_id: Option<i32>,
    pub situation: Option<String>,
    pub skill_at_time: Option<i32>,
    pub slayer_caste: Option<i32>,
    pub slayer_hf_id: Option<i32>,
    pub slayer_item_id: Option<i32>,
    pub slayer_race: Option<String>,
    pub slayer_shooter_item_id: Option<i32>,
    pub snatcher_hf_id: Option<i32>,
    pub source_entity_id: Option<i32>,
    pub source_hf_id: Option<i32>,
    pub source_site_id: Option<i32>,
    pub source_structure_id: Option<i32>,
    pub stash_site_id: Option<i32>,
    pub speaker_hf_id: Option<i32>,
}

Fields

he_id: i32world_id: i32saboteur_hf_id: Option<i32>sanctify_hf_id: Option<i32>schedule_id: Option<i32>searcher_civ_id: Option<i32>season: Option<String>secret_goal: Option<String>seeker_hf_id: Option<i32>seller_hf_id: Option<i32>shrine_amount_destroyed: Option<i32>site_civ_id: Option<i32>site_entity_id: Option<i32>site_hf_id: Option<i32>site_id: Option<i32>site_id_1: Option<i32>site_id_2: Option<i32>site_property_id: Option<i32>situation: Option<String>skill_at_time: Option<i32>slayer_caste: Option<i32>slayer_hf_id: Option<i32>slayer_item_id: Option<i32>slayer_race: Option<String>slayer_shooter_item_id: Option<i32>snatcher_hf_id: Option<i32>source_entity_id: Option<i32>source_hf_id: Option<i32>source_site_id: Option<i32>source_structure_id: Option<i32>stash_site_id: Option<i32>speaker_hf_id: Option<i32>

Implementations

impl HistoricalEventSS1[src]

pub fn new() -> Self[src]

Trait Implementations

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

type Target = table

The table which Self::Changeset will be updating

type Changeset = <(Eq<world_id, &'update i32>, Option<Eq<saboteur_hf_id, &'update i32>>, Option<Eq<sanctify_hf_id, &'update i32>>, Option<Eq<schedule_id, &'update i32>>, Option<Eq<searcher_civ_id, &'update i32>>, Option<Eq<season, &'update String>>, Option<Eq<secret_goal, &'update String>>, Option<Eq<seeker_hf_id, &'update i32>>, Option<Eq<seller_hf_id, &'update i32>>, Option<Eq<shrine_amount_destroyed, &'update i32>>, Option<Eq<site_civ_id, &'update i32>>, Option<Eq<site_entity_id, &'update i32>>, Option<Eq<site_hf_id, &'update i32>>, Option<Eq<site_id, &'update i32>>, Option<Eq<site_id_1, &'update i32>>, Option<Eq<site_id_2, &'update i32>>, Option<Eq<site_property_id, &'update i32>>, Option<Eq<situation, &'update String>>, Option<Eq<skill_at_time, &'update i32>>, Option<Eq<slayer_caste, &'update i32>>, Option<Eq<slayer_hf_id, &'update i32>>, Option<Eq<slayer_item_id, &'update i32>>, Option<Eq<slayer_race, &'update String>>, Option<Eq<slayer_shooter_item_id, &'update i32>>, Option<Eq<snatcher_hf_id, &'update i32>>, Option<Eq<source_entity_id, &'update i32>>, Option<Eq<source_hf_id, &'update i32>>, Option<Eq<source_site_id, &'update i32>>, Option<Eq<source_structure_id, &'update i32>>, Option<Eq<stash_site_id, &'update i32>>, Option<Eq<speaker_hf_id, &'update i32>>) as AsChangeset>::Changeset

The update statement this type represents

impl<'update> AsChangeset for HistoricalEventSS1[src]

type Target = table

The table which Self::Changeset will be updating

type Changeset = <(Eq<world_id, i32>, Option<Eq<saboteur_hf_id, i32>>, Option<Eq<sanctify_hf_id, i32>>, Option<Eq<schedule_id, i32>>, Option<Eq<searcher_civ_id, i32>>, Option<Eq<season, String>>, Option<Eq<secret_goal, String>>, Option<Eq<seeker_hf_id, i32>>, Option<Eq<seller_hf_id, i32>>, Option<Eq<shrine_amount_destroyed, i32>>, Option<Eq<site_civ_id, i32>>, Option<Eq<site_entity_id, i32>>, Option<Eq<site_hf_id, i32>>, Option<Eq<site_id, i32>>, Option<Eq<site_id_1, i32>>, Option<Eq<site_id_2, i32>>, Option<Eq<site_property_id, i32>>, Option<Eq<situation, String>>, Option<Eq<skill_at_time, i32>>, Option<Eq<slayer_caste, i32>>, Option<Eq<slayer_hf_id, i32>>, Option<Eq<slayer_item_id, i32>>, Option<Eq<slayer_race, String>>, Option<Eq<slayer_shooter_item_id, i32>>, Option<Eq<snatcher_hf_id, i32>>, Option<Eq<source_entity_id, i32>>, Option<Eq<source_hf_id, i32>>, Option<Eq<source_site_id, i32>>, Option<Eq<source_structure_id, i32>>, Option<Eq<stash_site_id, i32>>, Option<Eq<speaker_hf_id, i32>>) as AsChangeset>::Changeset

The update statement this type represents

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

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

Get a list of HistoricalEventSS1 from the database

impl Debug for HistoricalEventSS1[src]

impl Default for HistoricalEventSS1[src]

impl Fillable for HistoricalEventSS1[src]

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

From DB to Core

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

From Core to DB

impl HasTable for HistoricalEventSS1[src]

type Table = table

The table this type is associated with.

impl Hash for HistoricalEventSS1[src]

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

type Id = &'ident i32

The type of this struct's identifier. Read more

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

type Values = <(Option<Eq<he_id, i32>>, Option<Eq<world_id, i32>>, Option<Eq<saboteur_hf_id, i32>>, Option<Eq<sanctify_hf_id, i32>>, Option<Eq<schedule_id, i32>>, Option<Eq<searcher_civ_id, i32>>, Option<Eq<season, String>>, Option<Eq<secret_goal, String>>, Option<Eq<seeker_hf_id, i32>>, Option<Eq<seller_hf_id, i32>>, Option<Eq<shrine_amount_destroyed, i32>>, Option<Eq<site_civ_id, i32>>, Option<Eq<site_entity_id, i32>>, Option<Eq<site_hf_id, i32>>, Option<Eq<site_id, i32>>, Option<Eq<site_id_1, i32>>, Option<Eq<site_id_2, i32>>, Option<Eq<site_property_id, i32>>, Option<Eq<situation, String>>, Option<Eq<skill_at_time, i32>>, Option<Eq<slayer_caste, i32>>, Option<Eq<slayer_hf_id, i32>>, Option<Eq<slayer_item_id, i32>>, Option<Eq<slayer_race, String>>, Option<Eq<slayer_shooter_item_id, i32>>, Option<Eq<snatcher_hf_id, i32>>, Option<Eq<source_entity_id, i32>>, Option<Eq<source_hf_id, i32>>, Option<Eq<source_site_id, i32>>, Option<Eq<source_structure_id, i32>>, Option<Eq<stash_site_id, i32>>, Option<Eq<speaker_hf_id, i32>>) as Insertable<table>>::Values

The VALUES clause to insert these records Read more

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

type Values = <(Option<Eq<he_id, &'insert i32>>, Option<Eq<world_id, &'insert i32>>, Option<Eq<saboteur_hf_id, &'insert i32>>, Option<Eq<sanctify_hf_id, &'insert i32>>, Option<Eq<schedule_id, &'insert i32>>, Option<Eq<searcher_civ_id, &'insert i32>>, Option<Eq<season, &'insert String>>, Option<Eq<secret_goal, &'insert String>>, Option<Eq<seeker_hf_id, &'insert i32>>, Option<Eq<seller_hf_id, &'insert i32>>, Option<Eq<shrine_amount_destroyed, &'insert i32>>, Option<Eq<site_civ_id, &'insert i32>>, Option<Eq<site_entity_id, &'insert i32>>, Option<Eq<site_hf_id, &'insert i32>>, Option<Eq<site_id, &'insert i32>>, Option<Eq<site_id_1, &'insert i32>>, Option<Eq<site_id_2, &'insert i32>>, Option<Eq<site_property_id, &'insert i32>>, Option<Eq<situation, &'insert String>>, Option<Eq<skill_at_time, &'insert i32>>, Option<Eq<slayer_caste, &'insert i32>>, Option<Eq<slayer_hf_id, &'insert i32>>, Option<Eq<slayer_item_id, &'insert i32>>, Option<Eq<slayer_race, &'insert String>>, Option<Eq<slayer_shooter_item_id, &'insert i32>>, Option<Eq<snatcher_hf_id, &'insert i32>>, Option<Eq<source_entity_id, &'insert i32>>, Option<Eq<source_hf_id, &'insert i32>>, Option<Eq<source_site_id, &'insert i32>>, Option<Eq<source_structure_id, &'insert i32>>, Option<Eq<stash_site_id, &'insert i32>>, Option<Eq<speaker_hf_id, &'insert i32>>) as Insertable<table>>::Values

The VALUES clause to insert these records Read more

impl PartialEq<HistoricalEvent> for HistoricalEventSS1[src]

impl PartialEq<HistoricalEventSS1> for HistoricalEventSS1[src]

impl PartialEq<HistoricalEventSS1> for HistoricalEvent[src]

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

Auto Trait Implementations

impl RefUnwindSafe for HistoricalEventSS1

impl Send for HistoricalEventSS1

impl Sync for HistoricalEventSS1

impl Unpin for HistoricalEventSS1

impl UnwindSafe for HistoricalEventSS1

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