[][src]Struct df_st_db::HistoricalEventCollection

pub struct HistoricalEventCollection {
    pub id: i32,
    pub world_id: i32,
    pub type_: Option<String>,
    pub start_year: Option<i32>,
    pub start_seconds72: Option<i32>,
    pub end_year: Option<i32>,
    pub end_seconds72: Option<i32>,
}

Fields

id: i32world_id: i32type_: Option<String>start_year: Option<i32>start_seconds72: Option<i32>end_year: Option<i32>end_seconds72: Option<i32>

Implementations

impl HistoricalEventCollection[src]

pub fn new() -> Self[src]

Trait Implementations

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

type Target = table

The table which Self::Changeset will be updating

type Changeset = <(Eq<world_id, &'update i32>, Option<Eq<type_, &'update String>>, Option<Eq<start_year, &'update i32>>, Option<Eq<start_seconds72, &'update i32>>, Option<Eq<end_year, &'update i32>>, Option<Eq<end_seconds72, &'update i32>>) as AsChangeset>::Changeset

The update statement this type represents

impl<'update> AsChangeset for HistoricalEventCollection[src]

type Target = table

The table which Self::Changeset will be updating

type Changeset = <(Eq<world_id, i32>, Option<Eq<type_, String>>, Option<Eq<start_year, i32>>, Option<Eq<start_seconds72, i32>>, Option<Eq<end_year, i32>>, Option<Eq<end_seconds72, i32>>) as AsChangeset>::Changeset

The update statement this type represents

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

type ForeignKey = __FK

The foreign key of this struct

type ForeignKeyColumn = hec_id

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

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

type ForeignKey = __FK

The foreign key of this struct

type ForeignKeyColumn = hec_id

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

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

type ForeignKey = __FK

The foreign key of this struct

type ForeignKeyColumn = hec_id

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

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

type ForeignKey = __FK

The foreign key of this struct

type ForeignKeyColumn = hec_id

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

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

type ForeignKey = __FK

The foreign key of this struct

type ForeignKeyColumn = hec_id

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

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

type ForeignKey = __FK

The foreign key of this struct

type ForeignKeyColumn = hec_id

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

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

type ForeignKey = __FK

The foreign key of this struct

type ForeignKeyColumn = hec_id

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

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

type ForeignKey = __FK

The foreign key of this struct

type ForeignKeyColumn = hec_id

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

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

type ForeignKey = __FK

The foreign key of this struct

type ForeignKeyColumn = hec_id

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

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

type ForeignKey = __FK

The foreign key of this struct

type ForeignKeyColumn = hec_id

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

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

type ForeignKey = __FK

The foreign key of this struct

type ForeignKeyColumn = hec_id

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

impl Clone for HistoricalEventCollection[src]

impl DBObject<HistoricalEventCollection, HistoricalEventCollection> for HistoricalEventCollection[src]

impl Debug for HistoricalEventCollection[src]

impl Default for HistoricalEventCollection[src]

impl Fillable for HistoricalEventCollection[src]

impl Filler<HistoricalEventCollection, HistoricalEventCollection> for HistoricalEventCollection[src]

From Core to DB

impl Filler<HistoricalEventCollection, HistoricalEventCollection> for HistoricalEventCollection[src]

From DB to Core

impl HasTable for HistoricalEventCollection[src]

type Table = table

The table this type is associated with.

impl Hash for HistoricalEventCollection[src]

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

type Id = &'ident i32

The type of this struct's identifier. Read more

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

type Values = <(Option<Eq<id, i32>>, Option<Eq<world_id, i32>>, Option<Eq<type_, String>>, Option<Eq<start_year, i32>>, Option<Eq<start_seconds72, i32>>, Option<Eq<end_year, i32>>, Option<Eq<end_seconds72, i32>>) as Insertable<table>>::Values

The VALUES clause to insert these records Read more

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

type Values = <(Option<Eq<id, &'insert i32>>, Option<Eq<world_id, &'insert i32>>, Option<Eq<type_, &'insert String>>, Option<Eq<start_year, &'insert i32>>, Option<Eq<start_seconds72, &'insert i32>>, Option<Eq<end_year, &'insert i32>>, Option<Eq<end_seconds72, &'insert i32>>) as Insertable<table>>::Values

The VALUES clause to insert these records Read more

impl PartialEq<HistoricalEventCollection> for HistoricalEventCollection[src]

impl PartialEq<HistoricalEventCollection> for HistoricalEventCollection[src]

impl PartialEq<HistoricalEventCollection> for HistoricalEventCollection[src]

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

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

Auto Trait Implementations

impl RefUnwindSafe for HistoricalEventCollection

impl Send for HistoricalEventCollection

impl Sync for HistoricalEventCollection

impl Unpin for HistoricalEventCollection

impl UnwindSafe for HistoricalEventCollection

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

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