[][src]Struct df_st_db::Identity

pub struct Identity {
    pub id: i32,
    pub world_id: i32,
    pub name: Option<String>,
    pub hf_id: Option<i32>,
    pub race: Option<String>,
    pub caste: Option<String>,
    pub birth_year: Option<i32>,
    pub birth_second: Option<i32>,
    pub profession: Option<String>,
    pub entity_id: Option<i32>,
    pub nemesis_id: Option<i32>,
}

Fields

id: i32world_id: i32name: Option<String>hf_id: Option<i32>race: Option<String>caste: Option<String>birth_year: Option<i32>birth_second: Option<i32>profession: Option<String>entity_id: Option<i32>nemesis_id: Option<i32>

Implementations

impl Identity[src]

pub fn new() -> Self[src]

Trait Implementations

impl<'update> AsChangeset for &'update Identity[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<hf_id, &'update i32>>, Option<Eq<race, &'update String>>, Option<Eq<caste, &'update String>>, Option<Eq<birth_year, &'update i32>>, Option<Eq<birth_second, &'update i32>>, Option<Eq<profession, &'update String>>, Option<Eq<entity_id, &'update i32>>, Option<Eq<nemesis_id, &'update i32>>) as AsChangeset>::Changeset

The update statement this type represents

impl<'update> AsChangeset for Identity[src]

type Target = table

The table which Self::Changeset will be updating

type Changeset = <(Eq<world_id, i32>, Option<Eq<name, String>>, Option<Eq<hf_id, i32>>, Option<Eq<race, String>>, Option<Eq<caste, String>>, Option<Eq<birth_year, i32>>, Option<Eq<birth_second, i32>>, Option<Eq<profession, String>>, Option<Eq<entity_id, i32>>, Option<Eq<nemesis_id, i32>>) as AsChangeset>::Changeset

The update statement this type represents

impl Clone for Identity[src]

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

impl Debug for Identity[src]

impl Default for Identity[src]

impl Fillable for Identity[src]

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

From Core to DB

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

From DB to Core

impl HasTable for Identity[src]

type Table = table

The table this type is associated with.

impl Hash for Identity[src]

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

type Id = &'ident i32

The type of this struct's identifier. Read more

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

type Values = <(Option<Eq<id, i32>>, Option<Eq<world_id, i32>>, Option<Eq<name, String>>, Option<Eq<hf_id, i32>>, Option<Eq<race, String>>, Option<Eq<caste, String>>, Option<Eq<birth_year, i32>>, Option<Eq<birth_second, i32>>, Option<Eq<profession, String>>, Option<Eq<entity_id, i32>>, Option<Eq<nemesis_id, i32>>) as Insertable<table>>::Values

The VALUES clause to insert these records Read more

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

type Values = <(Option<Eq<id, &'insert i32>>, Option<Eq<world_id, &'insert i32>>, Option<Eq<name, &'insert String>>, Option<Eq<hf_id, &'insert i32>>, Option<Eq<race, &'insert String>>, Option<Eq<caste, &'insert String>>, Option<Eq<birth_year, &'insert i32>>, Option<Eq<birth_second, &'insert i32>>, Option<Eq<profession, &'insert String>>, Option<Eq<entity_id, &'insert i32>>, Option<Eq<nemesis_id, &'insert i32>>) as Insertable<table>>::Values

The VALUES clause to insert these records Read more

impl PartialEq<Identity> for Identity[src]

impl PartialEq<Identity> for Identity[src]

impl PartialEq<Identity> for Identity[src]

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

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

Auto Trait Implementations

impl RefUnwindSafe for Identity

impl Send for Identity

impl Sync for Identity

impl Unpin for Identity

impl UnwindSafe for Identity

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