[][src]Struct df_st_db::HistoricalEventSS2

pub struct HistoricalEventSS2 {
    pub he_id: i32,
    pub world_id: i32,
    pub spotter_hf_id: Option<i32>,
    pub start: Option<bool>,
    pub state: Option<String>,
    pub structure_id: Option<i32>,
    pub student_hf_id: Option<i32>,
    pub subregion_id: Option<i32>,
    pub subtype: Option<String>,
    pub successful: Option<bool>,
    pub surveiled_coconspirator: Option<bool>,
    pub surveiled_contact: Option<bool>,
    pub surveiled_convicted: Option<bool>,
    pub surveiled_target: Option<bool>,
    pub secret_text: Option<String>,
    pub shooter_artifact_id: Option<i32>,
    pub shooter_item: Option<String>,
    pub shooter_item_subtype: Option<String>,
    pub shooter_item_type: Option<String>,
    pub shooter_mat: Option<String>,
    pub source: Option<i32>,
}

Fields

he_id: i32world_id: i32spotter_hf_id: Option<i32>start: Option<bool>state: Option<String>structure_id: Option<i32>student_hf_id: Option<i32>subregion_id: Option<i32>subtype: Option<String>successful: Option<bool>surveiled_coconspirator: Option<bool>surveiled_contact: Option<bool>surveiled_convicted: Option<bool>surveiled_target: Option<bool>secret_text: Option<String>shooter_artifact_id: Option<i32>shooter_item: Option<String>shooter_item_subtype: Option<String>shooter_item_type: Option<String>shooter_mat: Option<String>source: Option<i32>

Implementations

impl HistoricalEventSS2[src]

pub fn new() -> Self[src]

Trait Implementations

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

type Target = table

The table which Self::Changeset will be updating

type Changeset = <(Eq<world_id, &'update i32>, Option<Eq<spotter_hf_id, &'update i32>>, Option<Eq<start, &'update bool>>, Option<Eq<state, &'update String>>, Option<Eq<structure_id, &'update i32>>, Option<Eq<student_hf_id, &'update i32>>, Option<Eq<subregion_id, &'update i32>>, Option<Eq<subtype, &'update String>>, Option<Eq<successful, &'update bool>>, Option<Eq<surveiled_coconspirator, &'update bool>>, Option<Eq<surveiled_contact, &'update bool>>, Option<Eq<surveiled_convicted, &'update bool>>, Option<Eq<surveiled_target, &'update bool>>, Option<Eq<secret_text, &'update String>>, Option<Eq<shooter_artifact_id, &'update i32>>, Option<Eq<shooter_item, &'update String>>, Option<Eq<shooter_item_subtype, &'update String>>, Option<Eq<shooter_item_type, &'update String>>, Option<Eq<shooter_mat, &'update String>>, Option<Eq<source, &'update i32>>) as AsChangeset>::Changeset

The update statement this type represents

impl<'update> AsChangeset for HistoricalEventSS2[src]

type Target = table

The table which Self::Changeset will be updating

type Changeset = <(Eq<world_id, i32>, Option<Eq<spotter_hf_id, i32>>, Option<Eq<start, bool>>, Option<Eq<state, String>>, Option<Eq<structure_id, i32>>, Option<Eq<student_hf_id, i32>>, Option<Eq<subregion_id, i32>>, Option<Eq<subtype, String>>, Option<Eq<successful, bool>>, Option<Eq<surveiled_coconspirator, bool>>, Option<Eq<surveiled_contact, bool>>, Option<Eq<surveiled_convicted, bool>>, Option<Eq<surveiled_target, bool>>, Option<Eq<secret_text, String>>, Option<Eq<shooter_artifact_id, i32>>, Option<Eq<shooter_item, String>>, Option<Eq<shooter_item_subtype, String>>, Option<Eq<shooter_item_type, String>>, Option<Eq<shooter_mat, String>>, Option<Eq<source, i32>>) as AsChangeset>::Changeset

The update statement this type represents

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

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

Get a list of HistoricalEventSS2 from the database

impl Debug for HistoricalEventSS2[src]

impl Default for HistoricalEventSS2[src]

impl Fillable for HistoricalEventSS2[src]

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

From DB to Core

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

From Core to DB

impl HasTable for HistoricalEventSS2[src]

type Table = table

The table this type is associated with.

impl Hash for HistoricalEventSS2[src]

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

type Id = &'ident i32

The type of this struct's identifier. Read more

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

type Values = <(Option<Eq<he_id, i32>>, Option<Eq<world_id, i32>>, Option<Eq<spotter_hf_id, i32>>, Option<Eq<start, bool>>, Option<Eq<state, String>>, Option<Eq<structure_id, i32>>, Option<Eq<student_hf_id, i32>>, Option<Eq<subregion_id, i32>>, Option<Eq<subtype, String>>, Option<Eq<successful, bool>>, Option<Eq<surveiled_coconspirator, bool>>, Option<Eq<surveiled_contact, bool>>, Option<Eq<surveiled_convicted, bool>>, Option<Eq<surveiled_target, bool>>, Option<Eq<secret_text, String>>, Option<Eq<shooter_artifact_id, i32>>, Option<Eq<shooter_item, String>>, Option<Eq<shooter_item_subtype, String>>, Option<Eq<shooter_item_type, String>>, Option<Eq<shooter_mat, String>>, Option<Eq<source, i32>>) as Insertable<table>>::Values

The VALUES clause to insert these records Read more

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

type Values = <(Option<Eq<he_id, &'insert i32>>, Option<Eq<world_id, &'insert i32>>, Option<Eq<spotter_hf_id, &'insert i32>>, Option<Eq<start, &'insert bool>>, Option<Eq<state, &'insert String>>, Option<Eq<structure_id, &'insert i32>>, Option<Eq<student_hf_id, &'insert i32>>, Option<Eq<subregion_id, &'insert i32>>, Option<Eq<subtype, &'insert String>>, Option<Eq<successful, &'insert bool>>, Option<Eq<surveiled_coconspirator, &'insert bool>>, Option<Eq<surveiled_contact, &'insert bool>>, Option<Eq<surveiled_convicted, &'insert bool>>, Option<Eq<surveiled_target, &'insert bool>>, Option<Eq<secret_text, &'insert String>>, Option<Eq<shooter_artifact_id, &'insert i32>>, Option<Eq<shooter_item, &'insert String>>, Option<Eq<shooter_item_subtype, &'insert String>>, Option<Eq<shooter_item_type, &'insert String>>, Option<Eq<shooter_mat, &'insert String>>, Option<Eq<source, &'insert i32>>) as Insertable<table>>::Values

The VALUES clause to insert these records Read more

impl PartialEq<HistoricalEvent> for HistoricalEventSS2[src]

impl PartialEq<HistoricalEventSS2> for HistoricalEventSS2[src]

impl PartialEq<HistoricalEventSS2> for HistoricalEvent[src]

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

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

Auto Trait Implementations

impl RefUnwindSafe for HistoricalEventSS2

impl Send for HistoricalEventSS2

impl Sync for HistoricalEventSS2

impl Unpin for HistoricalEventSS2

impl UnwindSafe for HistoricalEventSS2

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