[][src]Struct sn0int::models::Breach

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

Fields

id: i32value: Stringunscoped: bool

Trait Implementations

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

type ForeignKey = __FK

The foreign key of this struct

type ForeignKeyColumn = breach_id

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

impl Debug for Breach[src]

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

impl Detailed for Breach[src]

type T = DetailedBreach

impl HasTable for Breach[src]

type Table = table

The table this type is associated with.

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

type Id = &'ident i32

The type of this struct's identifier. Read more

impl InsertableStruct<Breach> for NewBreach[src]

impl Model for Breach[src]

type ID = str

impl PartialEq<Breach> for Breach[src]

impl Printable<PrintableBreach> for Breach[src]

impl<__DB: Backend, __ST> Queryable<__ST, __DB> for Breach 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 Breach[src]

impl Serialize for Breach[src]

impl StructuralPartialEq for Breach[src]

impl Upsertable<Breach> for NewBreach[src]

type Update = NullUpdate

Auto Trait Implementations

impl RefUnwindSafe for Breach

impl Send for Breach

impl Sync for Breach

impl Unpin for Breach

impl UnwindSafe for Breach

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>,