[][src]Struct edit_server::db::types::NewPost

pub struct NewPost<'a> {
    pub id: &'a str,
    pub body: &'a str,
}

Fields

Trait Implementations

impl<'a, 'insert> Insertable<table> for NewPost<'a>
[src]

The VALUES clause to insert these records Read more

Insert self into a given table. Read more

impl<'a, 'insert> Insertable<table> for &'insert NewPost<'a>
[src]

The VALUES clause to insert these records Read more

Insert self into a given table. Read more

impl<'a, 'insert> UndecoratedInsertRecord<table> for NewPost<'a>
[src]

Auto Trait Implementations

impl<'a> Send for NewPost<'a>

impl<'a> Sync for NewPost<'a>

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> IntoSql for T

Convert self to an expression for Diesel's query builder. Read more

Convert &self to an expression for Diesel's query builder. Read more

impl<T> Erased for T