[][src]Struct sn0int::models::NewPhoneNumber

pub struct NewPhoneNumber {
    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>,
    pub unscoped: bool,
}

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>unscoped: bool

Trait Implementations

impl InsertableStruct<PhoneNumber> for NewPhoneNumber[src]

impl Upsertable<PhoneNumber> for NewPhoneNumber[src]

type Update = PhoneNumberUpdate

impl Printable<PrintablePhoneNumber> for NewPhoneNumber[src]

impl Clone for NewPhoneNumber[src]

impl Debug for NewPhoneNumber[src]

impl<'insert> Insertable<table> for NewPhoneNumber[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>>, Option<Eq<unscoped, bool>>) as Insertable<table>>::Values

The VALUES clause to insert these records Read more

impl<'insert> Insertable<table> for &'insert NewPhoneNumber[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>>, Option<Eq<unscoped, &'insert bool>>) as Insertable<table>>::Values

The VALUES clause to insert these records Read more

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

impl Serialize for NewPhoneNumber[src]

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

Auto Trait Implementations

Blanket Implementations

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

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

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<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<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[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