[][src]Struct sn0int::db::ttl::NewTtl

pub struct NewTtl<'a> {
    pub family: &'a str,
    pub key: i32,
    pub expire: NaiveDateTime,
}

Fields

family: &'a strkey: i32expire: NaiveDateTime

Trait Implementations

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

type Values = <(Option<Eq<family, &'a str>>, Option<Eq<key, i32>>, Option<Eq<expire, NaiveDateTime>>) as Insertable<table>>::Values

The VALUES clause to insert these records Read more

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

type Values = <(Option<Eq<family, &'insert &'a str>>, Option<Eq<key, &'insert i32>>, Option<Eq<expire, &'insert NaiveDateTime>>) as Insertable<table>>::Values

The VALUES clause to insert these records Read more

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

Auto Trait Implementations

impl<'a> Send for NewTtl<'a>

impl<'a> Sync for NewTtl<'a>

impl<'a> Unpin for NewTtl<'a>

impl<'a> UnwindSafe for NewTtl<'a>

impl<'a> RefUnwindSafe for NewTtl<'a>

Blanket Implementations

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

impl<T> From<T> for T[src]

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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> IntoSql for T[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SetParameter for T