[][src]Struct sn0int::models::Domain

pub struct Domain {
    pub id: i32,
    pub value: String,
    pub unscoped: bool,
}

Fields

id: i32value: Stringunscoped: bool

Trait Implementations

impl<__FK> BelongsTo<Domain> for Subdomain where
    __FK: Hash + Eq,
    &'__a i32: Into<Option<&'__a __FK>>,
    &'__a Domain: Identifiable<Id = &'__a __FK>, 
[src]

type ForeignKey = __FK

The foreign key of this struct

type ForeignKeyColumn = domain_id

The database column representing the foreign key of the table this struct represents Read more

impl Debug for Domain[src]

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

impl Detailed for Domain[src]

type T = DetailedDomain

impl HasTable for Domain[src]

type Table = table

The table this type is associated with.

impl<'ident> Identifiable for &'ident Domain[src]

type Id = &'ident i32

The type of this struct's identifier. Read more

impl InsertableStruct<Domain> for NewDomain[src]

impl Model for Domain[src]

type ID = str

impl PartialEq<Domain> for Domain[src]

impl Printable<PrintableDomain> for Domain[src]

impl<__DB: Backend, __ST> Queryable<__ST, __DB> for Domain where
    (i32, String, bool): Queryable<__ST, __DB>, 
[src]

type Row = <(i32, String, bool) as Queryable<__ST, __DB>>::Row

The Rust type you'd like to map from. Read more

impl Scopable for Domain[src]

impl Serialize for Domain[src]

impl StructuralPartialEq for Domain[src]

impl Upsertable<Domain> for NewDomain[src]

type Update = NullUpdate

Auto Trait Implementations

impl RefUnwindSafe for Domain

impl Send for Domain

impl Sync for Domain

impl Unpin for Domain

impl UnwindSafe for Domain

Blanket Implementations

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

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

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

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

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

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

impl<T> IntoSql for T[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SetParameter for T

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<V, T> VZip<V> for T where
    V: MultiLane<T>,