[][src]Struct sn0int::models::NewIpAddrOwned

pub struct NewIpAddrOwned {
    pub family: String,
    pub value: String,
    pub continent: Option<String>,
    pub continent_code: Option<String>,
    pub country: Option<String>,
    pub country_code: Option<String>,
    pub city: Option<String>,
    pub latitude: Option<f32>,
    pub longitude: Option<f32>,
    pub asn: Option<i32>,
    pub as_org: Option<String>,
    pub description: Option<String>,
    pub reverse_dns: Option<String>,
}

Fields

family: Stringvalue: Stringcontinent: Option<String>continent_code: Option<String>country: Option<String>country_code: Option<String>city: Option<String>latitude: Option<f32>longitude: Option<f32>asn: Option<i32>as_org: Option<String>description: Option<String>reverse_dns: Option<String>

Trait Implementations

impl Printable<PrintableIpAddr> for NewIpAddrOwned
[src]

impl Debug for NewIpAddrOwned
[src]

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

type Values = <(Option<Eq<family, String>>, Option<Eq<value, String>>, Option<Eq<continent, String>>, Option<Eq<continent_code, String>>, Option<Eq<country, String>>, Option<Eq<country_code, String>>, Option<Eq<city, String>>, Option<Eq<latitude, f32>>, Option<Eq<longitude, f32>>, Option<Eq<asn, i32>>, Option<Eq<as_org, String>>, Option<Eq<description, String>>, Option<Eq<reverse_dns, 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 NewIpAddrOwned
[src]

type Values = <(Option<Eq<family, &'insert String>>, Option<Eq<value, &'insert String>>, Option<Eq<continent, &'insert String>>, Option<Eq<continent_code, &'insert String>>, Option<Eq<country, &'insert String>>, Option<Eq<country_code, &'insert String>>, Option<Eq<city, &'insert String>>, Option<Eq<latitude, &'insert f32>>, Option<Eq<longitude, &'insert f32>>, Option<Eq<asn, &'insert i32>>, Option<Eq<as_org, &'insert String>>, Option<Eq<description, &'insert String>>, Option<Eq<reverse_dns, &'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 NewIpAddrOwned
[src]

impl Serialize for NewIpAddrOwned
[src]

impl<'de> Deserialize<'de> for NewIpAddrOwned
[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