[][src]Struct df_st_db::WrittenContent

pub struct WrittenContent {
    pub id: i32,
    pub world_id: i32,
    pub title: Option<String>,
    pub author_hf_id: Option<i32>,
    pub author_roll: Option<i32>,
    pub form: Option<String>,
    pub form_id: Option<i32>,
    pub page_start: Option<i32>,
    pub page_end: Option<i32>,
    pub type_: Option<String>,
    pub author: Option<i32>,
}

Fields

id: i32world_id: i32title: Option<String>author_hf_id: Option<i32>author_roll: Option<i32>form: Option<String>form_id: Option<i32>page_start: Option<i32>page_end: Option<i32>type_: Option<String>author: Option<i32>

Implementations

impl WrittenContent[src]

pub fn new() -> Self[src]

Trait Implementations

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

type Target = table

The table which Self::Changeset will be updating

type Changeset = <(Eq<world_id, &'update i32>, Option<Eq<title, &'update String>>, Option<Eq<author_hf_id, &'update i32>>, Option<Eq<author_roll, &'update i32>>, Option<Eq<form, &'update String>>, Option<Eq<form_id, &'update i32>>, Option<Eq<page_start, &'update i32>>, Option<Eq<page_end, &'update i32>>, Option<Eq<type_, &'update String>>, Option<Eq<author, &'update i32>>) as AsChangeset>::Changeset

The update statement this type represents

impl<'update> AsChangeset for WrittenContent[src]

type Target = table

The table which Self::Changeset will be updating

type Changeset = <(Eq<world_id, i32>, Option<Eq<title, String>>, Option<Eq<author_hf_id, i32>>, Option<Eq<author_roll, i32>>, Option<Eq<form, String>>, Option<Eq<form_id, i32>>, Option<Eq<page_start, i32>>, Option<Eq<page_end, i32>>, Option<Eq<type_, String>>, Option<Eq<author, i32>>) as AsChangeset>::Changeset

The update statement this type represents

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

type ForeignKey = __FK

The foreign key of this struct

type ForeignKeyColumn = written_content_parent_id

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

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

type ForeignKey = __FK

The foreign key of this struct

type ForeignKeyColumn = written_content_id

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

impl Clone for WrittenContent[src]

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

impl Debug for WrittenContent[src]

impl Default for WrittenContent[src]

impl Fillable for WrittenContent[src]

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

From Core to DB

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

From DB to Core

impl HasTable for WrittenContent[src]

type Table = table

The table this type is associated with.

impl Hash for WrittenContent[src]

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

type Id = &'ident i32

The type of this struct's identifier. Read more

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

type Values = <(Option<Eq<id, i32>>, Option<Eq<world_id, i32>>, Option<Eq<title, String>>, Option<Eq<author_hf_id, i32>>, Option<Eq<author_roll, i32>>, Option<Eq<form, String>>, Option<Eq<form_id, i32>>, Option<Eq<page_start, i32>>, Option<Eq<page_end, i32>>, Option<Eq<type_, String>>, Option<Eq<author, i32>>) as Insertable<table>>::Values

The VALUES clause to insert these records Read more

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

type Values = <(Option<Eq<id, &'insert i32>>, Option<Eq<world_id, &'insert i32>>, Option<Eq<title, &'insert String>>, Option<Eq<author_hf_id, &'insert i32>>, Option<Eq<author_roll, &'insert i32>>, Option<Eq<form, &'insert String>>, Option<Eq<form_id, &'insert i32>>, Option<Eq<page_start, &'insert i32>>, Option<Eq<page_end, &'insert i32>>, Option<Eq<type_, &'insert String>>, Option<Eq<author, &'insert i32>>) as Insertable<table>>::Values

The VALUES clause to insert these records Read more

impl PartialEq<WrittenContent> for WrittenContent[src]

impl PartialEq<WrittenContent> for WrittenContent[src]

impl PartialEq<WrittenContent> for WrittenContent[src]

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

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

Auto Trait Implementations

impl RefUnwindSafe for WrittenContent

impl Send for WrittenContent

impl Sync for WrittenContent

impl Unpin for WrittenContent

impl UnwindSafe for WrittenContent

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