[][src]Struct df_st_db::HistoricalFigure

pub struct HistoricalFigure {
    pub id: i32,
    pub world_id: i32,
    pub name: Option<String>,
    pub race: Option<String>,
    pub race_id: Option<String>,
    pub caste: Option<String>,
    pub appeared: Option<i32>,
    pub birth_year: Option<i32>,
    pub birth_seconds72: Option<i32>,
    pub death_year: Option<i32>,
    pub death_seconds72: Option<i32>,
    pub associated_type: Option<String>,
    pub deity: Option<String>,
    pub goal: Option<String>,
    pub ent_pop_id: Option<i32>,
    pub active_interaction: Option<String>,
    pub force: Option<bool>,
    pub current_identity_id: Option<i32>,
    pub holds_artifact: Option<i32>,
    pub used_identity_id: Option<i32>,
    pub animated: Option<bool>,
    pub animated_string: Option<String>,
    pub adventurer: Option<bool>,
}

Fields

id: i32world_id: i32name: Option<String>race: Option<String>race_id: Option<String>caste: Option<String>appeared: Option<i32>birth_year: Option<i32>birth_seconds72: Option<i32>death_year: Option<i32>death_seconds72: Option<i32>associated_type: Option<String>deity: Option<String>goal: Option<String>ent_pop_id: Option<i32>active_interaction: Option<String>force: Option<bool>current_identity_id: Option<i32>holds_artifact: Option<i32>used_identity_id: Option<i32>animated: Option<bool>animated_string: Option<String>adventurer: Option<bool>

Implementations

impl HistoricalFigure[src]

pub fn new() -> Self[src]

Trait Implementations

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

type Target = table

The table which Self::Changeset will be updating

type Changeset = <(Eq<world_id, &'update i32>, Option<Eq<name, &'update String>>, Option<Eq<race, &'update String>>, Option<Eq<race_id, &'update String>>, Option<Eq<caste, &'update String>>, Option<Eq<appeared, &'update i32>>, Option<Eq<birth_year, &'update i32>>, Option<Eq<birth_seconds72, &'update i32>>, Option<Eq<death_year, &'update i32>>, Option<Eq<death_seconds72, &'update i32>>, Option<Eq<associated_type, &'update String>>, Option<Eq<deity, &'update String>>, Option<Eq<goal, &'update String>>, Option<Eq<ent_pop_id, &'update i32>>, Option<Eq<active_interaction, &'update String>>, Option<Eq<force, &'update bool>>, Option<Eq<current_identity_id, &'update i32>>, Option<Eq<holds_artifact, &'update i32>>, Option<Eq<used_identity_id, &'update i32>>, Option<Eq<animated, &'update bool>>, Option<Eq<animated_string, &'update String>>, Option<Eq<adventurer, &'update bool>>) as AsChangeset>::Changeset

The update statement this type represents

impl<'update> AsChangeset for HistoricalFigure[src]

type Target = table

The table which Self::Changeset will be updating

type Changeset = <(Eq<world_id, i32>, Option<Eq<name, String>>, Option<Eq<race, String>>, Option<Eq<race_id, String>>, Option<Eq<caste, String>>, Option<Eq<appeared, i32>>, Option<Eq<birth_year, i32>>, Option<Eq<birth_seconds72, i32>>, Option<Eq<death_year, i32>>, Option<Eq<death_seconds72, i32>>, Option<Eq<associated_type, String>>, Option<Eq<deity, String>>, Option<Eq<goal, String>>, Option<Eq<ent_pop_id, i32>>, Option<Eq<active_interaction, String>>, Option<Eq<force, bool>>, Option<Eq<current_identity_id, i32>>, Option<Eq<holds_artifact, i32>>, Option<Eq<used_identity_id, i32>>, Option<Eq<animated, bool>>, Option<Eq<animated_string, String>>, Option<Eq<adventurer, bool>>) as AsChangeset>::Changeset

The update statement this type represents

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

type ForeignKey = __FK

The foreign key of this struct

type ForeignKeyColumn = hf_id

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

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

type ForeignKey = __FK

The foreign key of this struct

type ForeignKeyColumn = hf_id

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

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

type ForeignKey = __FK

The foreign key of this struct

type ForeignKeyColumn = hf_id

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

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

type ForeignKey = __FK

The foreign key of this struct

type ForeignKeyColumn = hf_id

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

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

type ForeignKey = __FK

The foreign key of this struct

type ForeignKeyColumn = hf_id

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

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

type ForeignKey = __FK

The foreign key of this struct

type ForeignKeyColumn = hf_id

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

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

type ForeignKey = __FK

The foreign key of this struct

type ForeignKeyColumn = hf_id

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

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

type ForeignKey = __FK

The foreign key of this struct

type ForeignKeyColumn = hf_id

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

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

type ForeignKey = __FK

The foreign key of this struct

type ForeignKeyColumn = hf_id

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

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

type ForeignKey = __FK

The foreign key of this struct

type ForeignKeyColumn = hf_id

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

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

type ForeignKey = __FK

The foreign key of this struct

type ForeignKeyColumn = hf_id

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

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

type ForeignKey = __FK

The foreign key of this struct

type ForeignKeyColumn = hf_id

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

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

type ForeignKey = __FK

The foreign key of this struct

type ForeignKeyColumn = hf_id

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

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

type ForeignKey = __FK

The foreign key of this struct

type ForeignKeyColumn = hf_id

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

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

type ForeignKey = __FK

The foreign key of this struct

type ForeignKeyColumn = hf_id

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

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

type ForeignKey = __FK

The foreign key of this struct

type ForeignKeyColumn = hf_id

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

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

type ForeignKey = __FK

The foreign key of this struct

type ForeignKeyColumn = hf_id

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

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

type ForeignKey = __FK

The foreign key of this struct

type ForeignKeyColumn = hf_id

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

impl Clone for HistoricalFigure[src]

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

impl Debug for HistoricalFigure[src]

impl Default for HistoricalFigure[src]

impl Fillable for HistoricalFigure[src]

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

From Core to DB

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

From DB to Core

impl HasTable for HistoricalFigure[src]

type Table = table

The table this type is associated with.

impl Hash for HistoricalFigure[src]

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

type Id = &'ident i32

The type of this struct's identifier. Read more

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

type Values = <(Option<Eq<id, i32>>, Option<Eq<world_id, i32>>, Option<Eq<name, String>>, Option<Eq<race, String>>, Option<Eq<race_id, String>>, Option<Eq<caste, String>>, Option<Eq<appeared, i32>>, Option<Eq<birth_year, i32>>, Option<Eq<birth_seconds72, i32>>, Option<Eq<death_year, i32>>, Option<Eq<death_seconds72, i32>>, Option<Eq<associated_type, String>>, Option<Eq<deity, String>>, Option<Eq<goal, String>>, Option<Eq<ent_pop_id, i32>>, Option<Eq<active_interaction, String>>, Option<Eq<force, bool>>, Option<Eq<current_identity_id, i32>>, Option<Eq<holds_artifact, i32>>, Option<Eq<used_identity_id, i32>>, Option<Eq<animated, bool>>, Option<Eq<animated_string, String>>, Option<Eq<adventurer, bool>>) as Insertable<table>>::Values

The VALUES clause to insert these records Read more

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

type Values = <(Option<Eq<id, &'insert i32>>, Option<Eq<world_id, &'insert i32>>, Option<Eq<name, &'insert String>>, Option<Eq<race, &'insert String>>, Option<Eq<race_id, &'insert String>>, Option<Eq<caste, &'insert String>>, Option<Eq<appeared, &'insert i32>>, Option<Eq<birth_year, &'insert i32>>, Option<Eq<birth_seconds72, &'insert i32>>, Option<Eq<death_year, &'insert i32>>, Option<Eq<death_seconds72, &'insert i32>>, Option<Eq<associated_type, &'insert String>>, Option<Eq<deity, &'insert String>>, Option<Eq<goal, &'insert String>>, Option<Eq<ent_pop_id, &'insert i32>>, Option<Eq<active_interaction, &'insert String>>, Option<Eq<force, &'insert bool>>, Option<Eq<current_identity_id, &'insert i32>>, Option<Eq<holds_artifact, &'insert i32>>, Option<Eq<used_identity_id, &'insert i32>>, Option<Eq<animated, &'insert bool>>, Option<Eq<animated_string, &'insert String>>, Option<Eq<adventurer, &'insert bool>>) as Insertable<table>>::Values

The VALUES clause to insert these records Read more

impl PartialEq<HistoricalFigure> for HistoricalFigure[src]

impl PartialEq<HistoricalFigure> for HistoricalFigure[src]

impl PartialEq<HistoricalFigure> for HistoricalFigure[src]

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

type Row = <(i32, i32, Option<String>, Option<String>, Option<String>, Option<String>, Option<i32>, Option<i32>, Option<i32>, Option<i32>, Option<i32>, Option<String>, Option<String>, Option<String>, Option<i32>, Option<String>, Option<bool>, Option<i32>, Option<i32>, Option<i32>, Option<bool>, Option<String>, Option<bool>) as Queryable<__ST, __DB>>::Row

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

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

Auto Trait Implementations

impl RefUnwindSafe for HistoricalFigure

impl Send for HistoricalFigure

impl Sync for HistoricalFigure

impl Unpin for HistoricalFigure

impl UnwindSafe for HistoricalFigure

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