[−][src]Struct sn0int::models::SubdomainUpdate
Fields
id: i32
resolvable: Option<bool>
Trait Implementations
impl<'update> AsChangeset for &'update SubdomainUpdate
[src]
type Target = table
The table which Self::Changeset
will be updating
type Changeset = <(Option<Eq<resolvable, &'update bool>>,) as AsChangeset>::Changeset
The update statement this type represents
fn as_changeset(self) -> Self::Changeset
[src]
impl<'update> AsChangeset for SubdomainUpdate
[src]
type Target = table
The table which Self::Changeset
will be updating
type Changeset = <(Option<Eq<resolvable, bool>>,) as AsChangeset>::Changeset
The update statement this type represents
fn as_changeset(self) -> Self::Changeset
[src]
impl Debug for SubdomainUpdate
[src]
impl<'de> Deserialize<'de> for SubdomainUpdate
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl HasTable for SubdomainUpdate
[src]
impl<'ident> Identifiable for &'ident SubdomainUpdate
[src]
impl Serialize for SubdomainUpdate
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl Updateable<Subdomain> for SubdomainUpdate
[src]
fn changeset(&mut self, existing: &Subdomain)
[src]
fn fmt(&self, updates: &mut Vec<String>)
[src]
fn to_string(&self) -> String
[src]
fn clear_if_equal<T: PartialEq>(update: &mut Option<T>, existing: &Option<T>)
[src]
fn clear_if_lower_or_equal<T: PartialOrd>(
update: &mut Option<T>,
existing: &Option<T>
)
[src]
update: &mut Option<T>,
existing: &Option<T>
)
fn clear_if_greater_or_equal<T: PartialOrd>(
update: &mut Option<T>,
existing: &Option<T>
)
[src]
update: &mut Option<T>,
existing: &Option<T>
)
fn push_value<D: Debug>(
updates: &mut Vec<String>,
name: &str,
value: &Option<D>
)
[src]
updates: &mut Vec<String>,
name: &str,
value: &Option<D>
)
fn push_raw<T: AsRef<str>>(
updates: &mut Vec<String>,
name: &str,
value: Option<T>
)
[src]
updates: &mut Vec<String>,
name: &str,
value: Option<T>
)
impl Upsert for SubdomainUpdate
[src]
Auto Trait Implementations
impl RefUnwindSafe for SubdomainUpdate
impl Send for SubdomainUpdate
impl Sync for SubdomainUpdate
impl Unpin for SubdomainUpdate
impl UnwindSafe for SubdomainUpdate
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> IntoSql for T
[src]
fn into_sql<T>(self) -> Self::Expression where
Self: AsExpression<T>,
[src]
Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
[src]
&'a Self: AsExpression<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,