[][src]Struct df_st_db::MusicalForm

pub struct MusicalForm {
    pub id: i32,
    pub world_id: i32,
    pub name: Option<String>,
    pub description: Option<String>,
}

Fields

id: i32world_id: i32name: Option<String>description: Option<String>

Implementations

impl MusicalForm[src]

pub fn new() -> Self[src]

Trait Implementations

impl<'update> AsChangeset for &'update MusicalForm[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<description, &'update String>>) as AsChangeset>::Changeset

The update statement this type represents

impl<'update> AsChangeset for MusicalForm[src]

type Target = table

The table which Self::Changeset will be updating

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

The update statement this type represents

impl Clone for MusicalForm[src]

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

impl Debug for MusicalForm[src]

impl Default for MusicalForm[src]

impl Fillable for MusicalForm[src]

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

From Core to DB

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

From DB to Core

impl HasTable for MusicalForm[src]

type Table = table

The table this type is associated with.

impl Hash for MusicalForm[src]

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

type Id = &'ident i32

The type of this struct's identifier. Read more

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

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

The VALUES clause to insert these records Read more

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

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

The VALUES clause to insert these records Read more

impl PartialEq<MusicalForm> for MusicalForm[src]

impl PartialEq<MusicalForm> for MusicalForm[src]

impl PartialEq<MusicalForm> for MusicalForm[src]

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

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

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

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

Auto Trait Implementations

impl RefUnwindSafe for MusicalForm

impl Send for MusicalForm

impl Sync for MusicalForm

impl Unpin for MusicalForm

impl UnwindSafe for MusicalForm

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