[][src]Struct sn0int::models::NewNetwork

pub struct NewNetwork {
    pub value: String,
    pub latitude: Option<f32>,
    pub longitude: Option<f32>,
    pub description: Option<String>,
    pub unscoped: bool,
}

Fields

value: Stringlatitude: Option<f32>longitude: Option<f32>description: Option<String>unscoped: bool

Trait Implementations

impl InsertableStruct<Network> for NewNetwork[src]

impl Upsertable<Network> for NewNetwork[src]

type Update = NetworkUpdate

impl Printable<PrintableNetwork> for NewNetwork[src]

impl Clone for NewNetwork[src]

impl Debug for NewNetwork[src]

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

type Values = <(Option<Eq<value, String>>, Option<Eq<latitude, f32>>, Option<Eq<longitude, f32>>, Option<Eq<description, String>>, Option<Eq<unscoped, bool>>) as Insertable<table>>::Values

The VALUES clause to insert these records Read more

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

type Values = <(Option<Eq<value, &'insert String>>, Option<Eq<latitude, &'insert f32>>, Option<Eq<longitude, &'insert f32>>, Option<Eq<description, &'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 NewNetwork[src]

impl Serialize for NewNetwork[src]

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