[−][src]Struct sn0int::models::CryptoAddrUpdate
Fields
id: i32
currency: Option<String>
denominator: Option<i32>
balance: Option<i64>
received: Option<i64>
first_seen: Option<NaiveDateTime>
last_withdrawal: Option<NaiveDateTime>
description: Option<String>
Trait Implementations
impl<'update> AsChangeset for &'update CryptoAddrUpdate
[src]
type Target = table
The table which Self::Changeset
will be updating
type Changeset = <(Option<Eq<currency, &'update String>>, Option<Eq<denominator, &'update i32>>, Option<Eq<balance, &'update i64>>, Option<Eq<received, &'update i64>>, Option<Eq<first_seen, &'update NaiveDateTime>>, Option<Eq<last_withdrawal, &'update NaiveDateTime>>, Option<Eq<description, &'update String>>) as AsChangeset>::Changeset
The update statement this type represents
fn as_changeset(self) -> Self::Changeset
[src]
impl<'update> AsChangeset for CryptoAddrUpdate
[src]
type Target = table
The table which Self::Changeset
will be updating
type Changeset = <(Option<Eq<currency, String>>, Option<Eq<denominator, i32>>, Option<Eq<balance, i64>>, Option<Eq<received, i64>>, Option<Eq<first_seen, NaiveDateTime>>, Option<Eq<last_withdrawal, NaiveDateTime>>, Option<Eq<description, String>>) as AsChangeset>::Changeset
The update statement this type represents
fn as_changeset(self) -> Self::Changeset
[src]
impl Debug for CryptoAddrUpdate
[src]
impl<'de> Deserialize<'de> for CryptoAddrUpdate
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl HasTable for CryptoAddrUpdate
[src]
impl<'ident> Identifiable for &'ident CryptoAddrUpdate
[src]
impl Serialize for CryptoAddrUpdate
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl Updateable<CryptoAddr> for CryptoAddrUpdate
[src]
fn changeset(&mut self, existing: &CryptoAddr)
[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 CryptoAddrUpdate
[src]
Auto Trait Implementations
impl RefUnwindSafe for CryptoAddrUpdate
impl Send for CryptoAddrUpdate
impl Sync for CryptoAddrUpdate
impl Unpin for CryptoAddrUpdate
impl UnwindSafe for CryptoAddrUpdate
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>,