[][src]Struct df_st_db::DFWorldInfo

pub struct DFWorldInfo {
    pub id: i32,
    pub save_name: Option<String>,
    pub name: Option<String>,
    pub alternative_name: Option<String>,
    pub region_number: Option<i32>,
    pub year: Option<i32>,
    pub month: Option<i32>,
    pub day: Option<i32>,
}

Fields

id: i32save_name: Option<String>name: Option<String>alternative_name: Option<String>region_number: Option<i32>year: Option<i32>month: Option<i32>day: Option<i32>

Implementations

impl DFWorldInfo[src]

pub fn new() -> Self[src]

Trait Implementations

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

type Target = table

The table which Self::Changeset will be updating

type Changeset = <(Option<Eq<save_name, &'update String>>, Option<Eq<name, &'update String>>, Option<Eq<alternative_name, &'update String>>, Option<Eq<region_number, &'update i32>>, Option<Eq<year, &'update i32>>, Option<Eq<month, &'update i32>>, Option<Eq<day, &'update i32>>) as AsChangeset>::Changeset

The update statement this type represents

impl<'update> AsChangeset for DFWorldInfo[src]

type Target = table

The table which Self::Changeset will be updating

type Changeset = <(Option<Eq<save_name, String>>, Option<Eq<name, String>>, Option<Eq<alternative_name, String>>, Option<Eq<region_number, i32>>, Option<Eq<year, i32>>, Option<Eq<month, i32>>, Option<Eq<day, i32>>) as AsChangeset>::Changeset

The update statement this type represents

impl Clone for DFWorldInfo[src]

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

impl Debug for DFWorldInfo[src]

impl Default for DFWorldInfo[src]

impl Fillable for DFWorldInfo[src]

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

From Core to DB

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

From DB to Core

impl HasTable for DFWorldInfo[src]

type Table = table

The table this type is associated with.

impl Hash for DFWorldInfo[src]

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

type Id = &'ident i32

The type of this struct's identifier. Read more

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

type Values = <(Option<Eq<id, i32>>, Option<Eq<save_name, String>>, Option<Eq<name, String>>, Option<Eq<alternative_name, String>>, Option<Eq<region_number, i32>>, Option<Eq<year, i32>>, Option<Eq<month, i32>>, Option<Eq<day, i32>>) as Insertable<table>>::Values

The VALUES clause to insert these records Read more

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

type Values = <(Option<Eq<id, &'insert i32>>, Option<Eq<save_name, &'insert String>>, Option<Eq<name, &'insert String>>, Option<Eq<alternative_name, &'insert String>>, Option<Eq<region_number, &'insert i32>>, Option<Eq<year, &'insert i32>>, Option<Eq<month, &'insert i32>>, Option<Eq<day, &'insert i32>>) as Insertable<table>>::Values

The VALUES clause to insert these records Read more

impl PartialEq<DFWorldInfo> for DFWorldInfo[src]

impl PartialEq<DFWorldInfo> for DFWorldInfo[src]

impl PartialEq<DFWorldInfo> for DFWorldInfo[src]

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

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

Auto Trait Implementations

impl RefUnwindSafe for DFWorldInfo

impl Send for DFWorldInfo

impl Sync for DFWorldInfo

impl Unpin for DFWorldInfo

impl UnwindSafe for DFWorldInfo

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