[][src]Struct df_st_db::UndergroundRegion

pub struct UndergroundRegion {
    pub id: i32,
    pub world_id: i32,
    pub type_: Option<String>,
    pub depth: Option<i32>,
}

Fields

id: i32world_id: i32type_: Option<String>depth: Option<i32>

Implementations

impl UndergroundRegion[src]

pub fn new() -> Self[src]

Trait Implementations

impl<'update> AsChangeset for &'update UndergroundRegion[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<depth, &'update i32>>) as AsChangeset>::Changeset

The update statement this type represents

impl<'update> AsChangeset for UndergroundRegion[src]

type Target = table

The table which Self::Changeset will be updating

type Changeset = <(Eq<world_id, i32>, Option<Eq<type_, String>>, Option<Eq<depth, i32>>) as AsChangeset>::Changeset

The update statement this type represents

impl BelongsTo<UndergroundRegion> for Coordinate[src]

type ForeignKey = i32

The foreign key of this struct

type ForeignKeyColumn = underground_region_id

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

impl Clone for UndergroundRegion[src]

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

fn add_missing_data_advanced(core_world: &DFWorld, world: &mut DBDFWorld)[src]

Add Coordinates to the world that are part of UndergroundRegion

impl Debug for UndergroundRegion[src]

impl Default for UndergroundRegion[src]

impl Fillable for UndergroundRegion[src]

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

From Core to DB

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

From DB to Core

impl HasTable for UndergroundRegion[src]

type Table = table

The table this type is associated with.

impl Hash for UndergroundRegion[src]

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

type Id = &'ident i32

The type of this struct's identifier. Read more

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

type Values = <(Option<Eq<id, i32>>, Option<Eq<world_id, i32>>, Option<Eq<type_, String>>, Option<Eq<depth, i32>>) as Insertable<table>>::Values

The VALUES clause to insert these records Read more

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

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

The VALUES clause to insert these records Read more

impl PartialEq<UndergroundRegion> for UndergroundRegion[src]

impl PartialEq<UndergroundRegion> for UndergroundRegion[src]

impl PartialEq<UndergroundRegion> for UndergroundRegion[src]

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

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

Auto Trait Implementations

impl RefUnwindSafe for UndergroundRegion

impl Send for UndergroundRegion

impl Sync for UndergroundRegion

impl Unpin for UndergroundRegion

impl UnwindSafe for UndergroundRegion

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