Type Alias sn0int::models::InsertSubdomainIpAddr
source · pub type InsertSubdomainIpAddr = NewSubdomainIpAddr;
Aliased Type§
struct InsertSubdomainIpAddr {
pub subdomain_id: i32,
pub ip_addr_id: i32,
}
Fields§
§subdomain_id: i32
§ip_addr_id: i32
Trait Implementations§
source§impl Clone for NewSubdomainIpAddr
impl Clone for NewSubdomainIpAddr
source§fn clone(&self) -> NewSubdomainIpAddr
fn clone(&self) -> NewSubdomainIpAddr
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for NewSubdomainIpAddr
impl Debug for NewSubdomainIpAddr
source§impl<'de> Deserialize<'de> for NewSubdomainIpAddr
impl<'de> Deserialize<'de> for NewSubdomainIpAddr
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl InsertToNew for InsertSubdomainIpAddr
impl InsertToNew for InsertSubdomainIpAddr
type Target = NewSubdomainIpAddr
fn try_into_new(self) -> Result<NewSubdomainIpAddr>
source§impl<'insert> Insertable<table> for NewSubdomainIpAddr
impl<'insert> Insertable<table> for NewSubdomainIpAddr
§type Values = <(Option<Eq<subdomain_id, <i32 as AsExpression<<subdomain_id as Expression>::SqlType>>::Expression>>, Option<Eq<ip_addr_id, <i32 as AsExpression<<ip_addr_id as Expression>::SqlType>>::Expression>>) as Insertable<table>>::Values
type Values = <(Option<Eq<subdomain_id, <i32 as AsExpression<<subdomain_id as Expression>::SqlType>>::Expression>>, Option<Eq<ip_addr_id, <i32 as AsExpression<<ip_addr_id as Expression>::SqlType>>::Expression>>) as Insertable<table>>::Values
The
VALUES
clause to insert these records Read moresource§fn insert_into(
self,
table: T
) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>where
Self: Sized,
fn insert_into( self, table: T ) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>where Self: Sized,
Insert
self
into a given table. Read more