[][src]Enum sn0int::models::Insert

pub enum Insert {
    Domain(NewDomain),
    Subdomain(NewSubdomain),
    IpAddr(NewIpAddr),
    SubdomainIpAddr(NewSubdomainIpAddr),
    Url(NewUrl),
    Email(NewEmail),
    PhoneNumber(NewPhoneNumber),
    Device(NewDevice),
    Network(NewNetwork),
    NetworkDevice(NewNetworkDevice),
    Account(NewAccount),
    Breach(NewBreach),
    BreachEmail(NewBreachEmail),
    Image(NewImage),
    Port(NewPort),
    Netblock(NewNetblock),
    CryptoAddr(NewCryptoAddr),
}

Variants

Domain(NewDomain)
Subdomain(NewSubdomain)
IpAddr(NewIpAddr)
SubdomainIpAddr(NewSubdomainIpAddr)
Url(NewUrl)
Email(NewEmail)
PhoneNumber(NewPhoneNumber)
Device(NewDevice)
Network(NewNetwork)
NetworkDevice(NewNetworkDevice)
Account(NewAccount)
Breach(NewBreach)
BreachEmail(NewBreachEmail)
Image(NewImage)
Port(NewPort)
Netblock(NewNetblock)
CryptoAddr(NewCryptoAddr)

Methods

impl Insert[src]

pub fn label(&self, db: &Database) -> Result<String>[src]

pub fn table(&self) -> &str[src]

pub fn printable(&self, db: &Database) -> Result<String>[src]

Trait Implementations

impl Clone for Insert[src]

impl Debug for Insert[src]

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

impl<'_> From<&'_ Insert> for Table[src]

impl Serialize for Insert[src]

Auto Trait Implementations

impl RefUnwindSafe for Insert

impl Send for Insert

impl Sync for Insert

impl Unpin for Insert

impl UnwindSafe for Insert

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