[][src]Struct sn0int::models::NewPhoneNumberOwned

pub struct NewPhoneNumberOwned {
    pub value: String,
    pub name: Option<String>,
    pub valid: Option<bool>,
    pub last_online: Option<NaiveDateTime>,
    pub country: Option<String>,
    pub carrier: Option<String>,
    pub line: Option<String>,
    pub is_ported: Option<bool>,
    pub last_ported: Option<NaiveDateTime>,
    pub caller_name: Option<String>,
    pub caller_type: Option<String>,
}

Fields

value: Stringname: Option<String>valid: Option<bool>last_online: Option<NaiveDateTime>country: Option<String>carrier: Option<String>line: Option<String>is_ported: Option<bool>last_ported: Option<NaiveDateTime>caller_name: Option<String>caller_type: Option<String>

Trait Implementations

impl Printable<PrintablePhoneNumber> for NewPhoneNumberOwned
[src]

impl Debug for NewPhoneNumberOwned
[src]

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

type Values = <(Option<Eq<value, String>>, Option<Eq<name, String>>, Option<Eq<valid, bool>>, Option<Eq<last_online, NaiveDateTime>>, Option<Eq<country, String>>, Option<Eq<carrier, String>>, Option<Eq<line, String>>, Option<Eq<is_ported, bool>>, Option<Eq<last_ported, NaiveDateTime>>, Option<Eq<caller_name, String>>, Option<Eq<caller_type, String>>) as Insertable<table>>::Values

The VALUES clause to insert these records Read more

fn insert_into(
    self,
    table: T
) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>
[src]

Insert self into a given table. Read more

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

type Values = <(Option<Eq<value, &'insert String>>, Option<Eq<name, &'insert String>>, Option<Eq<valid, &'insert bool>>, Option<Eq<last_online, &'insert NaiveDateTime>>, Option<Eq<country, &'insert String>>, Option<Eq<carrier, &'insert String>>, Option<Eq<line, &'insert String>>, Option<Eq<is_ported, &'insert bool>>, Option<Eq<last_ported, &'insert NaiveDateTime>>, Option<Eq<caller_name, &'insert String>>, Option<Eq<caller_type, &'insert String>>) as Insertable<table>>::Values

The VALUES clause to insert these records Read more

fn insert_into(
    self,
    table: T
) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>
[src]

Insert self into a given table. Read more

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

impl Serialize for NewPhoneNumberOwned
[src]

impl<'de> Deserialize<'de> for NewPhoneNumberOwned
[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From for T
[src]

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

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

type Error = !

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

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

type Error = <U as TryFrom<T>>::Error

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

The type returned in the event of a conversion error.

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

impl<T> IntoSql for T
[src]

fn into_sql<T>(self) -> Self::Expression where
    Self: AsExpression<T>, 
[src]

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

fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
    &'a Self: AsExpression<T>, 
[src]

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T