Struct sn0int::models::Subdomain[][src]

pub struct Subdomain {
    pub id: i32,
    pub domain_id: i32,
    pub value: String,
    pub unscoped: bool,
    pub resolvable: Option<bool>,
}

Fields

id: i32domain_id: i32value: Stringunscoped: boolresolvable: Option<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<__FK> BelongsTo<Subdomain> for SubdomainIpAddr where
    __FK: Hash + Eq,
    &'__a i32: Into<Option<&'__a __FK>>,
    &'__a Subdomain: Identifiable<Id = &'__a __FK>, 
[src]

type ForeignKey = __FK

The foreign key of this struct

type ForeignKeyColumn = subdomain_id

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

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

type ForeignKey = __FK

The foreign key of this struct

type ForeignKeyColumn = subdomain_id

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

impl Debug for Subdomain[src]

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

impl Detailed for Subdomain[src]

type T = DetailedSubdomain

impl HasTable for Subdomain[src]

type Table = table

The table this type is associated with.

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

type Id = &'ident i32

The type of this struct’s identifier. Read more

impl InsertableStruct<Subdomain> for NewSubdomain[src]

impl Model for Subdomain[src]

type ID = str

impl PartialEq<Subdomain> for Subdomain[src]

impl Printable<PrintableSubdomain> for Subdomain[src]

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

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

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

impl Scopable for Subdomain[src]

impl Serialize for Subdomain[src]

impl StructuralPartialEq for Subdomain[src]

impl Updateable<Subdomain> for SubdomainUpdate[src]

impl Upsertable<Subdomain> for NewSubdomain[src]

type Update = SubdomainUpdate

Auto Trait Implementations

Blanket Implementations

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

impl<'a, Parent, Child> BelongingToDsl<&'a [Parent]> for Child where
    Child: HasTable + BelongsTo<Parent>,
    &'a Parent: Identifiable,
    Vec<<&'a Parent as Identifiable>::Id, Global>: AsInExpression<<<Child as BelongsTo<Parent>>::ForeignKeyColumn as Expression>::SqlType>,
    <Child as HasTable>::Table: FilterDsl<In<<Child as BelongsTo<Parent>>::ForeignKeyColumn, <Vec<<&'a Parent as Identifiable>::Id, Global> as AsInExpression<<<Child as BelongsTo<Parent>>::ForeignKeyColumn as Expression>::SqlType>>::InExpression>>,
    <Child as BelongsTo<Parent>>::ForeignKeyColumn: ExpressionMethods
[src]

type Output = <<Child as HasTable>::Table as FilterDsl<In<<Child as BelongsTo<Parent>>::ForeignKeyColumn, <Vec<<&'a Parent as Identifiable>::Id, Global> as AsInExpression<<<Child as BelongsTo<Parent>>::ForeignKeyColumn as Expression>::SqlType>>::InExpression>>>::Output

The query returned by belonging_to

impl<'a, Parent, Child> BelongingToDsl<&'a Vec<Parent, Global>> for Child where
    Child: BelongingToDsl<&'a [Parent]>, 
[src]

type Output = <Child as BelongingToDsl<&'a [Parent]>>::Output

The query returned by belonging_to

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

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

impl<T> Conv for T

impl<T> Conv for T

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

impl<T> FmtForward for T

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> Pipe for T where
    T: ?Sized

impl<T> Pipe for T

impl<T> PipeAsRef for T

impl<T> PipeBorrow for T

impl<T> PipeDeref for T

impl<T> PipeRef for T

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Tap for T

impl<T> Tap for T

impl<T, U> TapAsRef<U> for T where
    U: ?Sized

impl<T, U> TapBorrow<U> for T where
    U: ?Sized

impl<T> TapDeref for T

impl<T> TryConv for T

impl<T> TryConv 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>,