[−][src]Trait sn0int::models::Upsertable
Associated Types
Loading content...Required methods
Loading content...Provided methods
fn upsert_opt<T: PartialEq>(
insert: Option<T>,
existing: &Option<T>
) -> Option<T>
insert: Option<T>,
existing: &Option<T>
) -> Option<T>
Implementors
impl Upsertable<Account> for NewAccount
[src]
type Update = AccountUpdate
fn upsert(self, existing: &Account) -> Self::Update
[src]
fn upsert_opt<T: PartialEq>(
insert: Option<T>,
existing: &Option<T>
) -> Option<T>
[src]
insert: Option<T>,
existing: &Option<T>
) -> Option<T>
impl Upsertable<Breach> for NewBreach
[src]
type Update = NullUpdate
fn upsert(self, existing: &Breach) -> Self::Update
[src]
fn upsert_opt<T: PartialEq>(
insert: Option<T>,
existing: &Option<T>
) -> Option<T>
[src]
insert: Option<T>,
existing: &Option<T>
) -> Option<T>
impl Upsertable<BreachEmail> for NewBreachEmail
[src]
type Update = BreachEmailUpdate
fn upsert(self, existing: &BreachEmail) -> Self::Update
[src]
fn upsert_opt<T: PartialEq>(
insert: Option<T>,
existing: &Option<T>
) -> Option<T>
[src]
insert: Option<T>,
existing: &Option<T>
) -> Option<T>
impl Upsertable<Device> for NewDevice
[src]
type Update = DeviceUpdate
fn upsert(self, existing: &Device) -> Self::Update
[src]
fn upsert_opt<T: PartialEq>(
insert: Option<T>,
existing: &Option<T>
) -> Option<T>
[src]
insert: Option<T>,
existing: &Option<T>
) -> Option<T>
impl Upsertable<Domain> for NewDomain
[src]
type Update = NullUpdate
fn upsert(self, existing: &Domain) -> Self::Update
[src]
fn upsert_opt<T: PartialEq>(
insert: Option<T>,
existing: &Option<T>
) -> Option<T>
[src]
insert: Option<T>,
existing: &Option<T>
) -> Option<T>
impl Upsertable<Email> for NewEmail
[src]
type Update = EmailUpdate
fn upsert(self, existing: &Email) -> Self::Update
[src]
fn upsert_opt<T: PartialEq>(
insert: Option<T>,
existing: &Option<T>
) -> Option<T>
[src]
insert: Option<T>,
existing: &Option<T>
) -> Option<T>
impl Upsertable<Image> for NewImage
[src]
type Update = ImageUpdate
fn upsert(self, existing: &Image) -> Self::Update
[src]
fn upsert_opt<T: PartialEq>(
insert: Option<T>,
existing: &Option<T>
) -> Option<T>
[src]
insert: Option<T>,
existing: &Option<T>
) -> Option<T>
impl Upsertable<IpAddr> for NewIpAddr
[src]
type Update = IpAddrUpdate
fn upsert(self, existing: &IpAddr) -> Self::Update
[src]
fn upsert_opt<T: PartialEq>(
insert: Option<T>,
existing: &Option<T>
) -> Option<T>
[src]
insert: Option<T>,
existing: &Option<T>
) -> Option<T>
impl Upsertable<Network> for NewNetwork
[src]
type Update = NetworkUpdate
fn upsert(self, existing: &Network) -> Self::Update
[src]
fn upsert_opt<T: PartialEq>(
insert: Option<T>,
existing: &Option<T>
) -> Option<T>
[src]
insert: Option<T>,
existing: &Option<T>
) -> Option<T>
impl Upsertable<NetworkDevice> for NewNetworkDevice
[src]
type Update = NetworkDeviceUpdate
fn upsert(self, existing: &NetworkDevice) -> Self::Update
[src]
fn upsert_opt<T: PartialEq>(
insert: Option<T>,
existing: &Option<T>
) -> Option<T>
[src]
insert: Option<T>,
existing: &Option<T>
) -> Option<T>
impl Upsertable<PhoneNumber> for NewPhoneNumber
[src]
type Update = PhoneNumberUpdate
fn upsert(self, existing: &PhoneNumber) -> Self::Update
[src]
fn upsert_opt<T: PartialEq>(
insert: Option<T>,
existing: &Option<T>
) -> Option<T>
[src]
insert: Option<T>,
existing: &Option<T>
) -> Option<T>
impl Upsertable<Subdomain> for NewSubdomain
[src]
type Update = SubdomainUpdate
fn upsert(self, existing: &Subdomain) -> Self::Update
[src]
fn upsert_opt<T: PartialEq>(
insert: Option<T>,
existing: &Option<T>
) -> Option<T>
[src]
insert: Option<T>,
existing: &Option<T>
) -> Option<T>