[][src]Struct sn0int::models::CryptoAddrUpdate

pub struct CryptoAddrUpdate {
    pub id: i32,
    pub currency: Option<String>,
    pub denominator: Option<i32>,
    pub balance: Option<i64>,
    pub received: Option<i64>,
    pub first_seen: Option<NaiveDateTime>,
    pub last_withdrawal: Option<NaiveDateTime>,
    pub description: Option<String>,
}

Fields

id: i32currency: 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 Upsert for CryptoAddrUpdate[src]

impl Updateable<CryptoAddr> for CryptoAddrUpdate[src]

impl Debug for CryptoAddrUpdate[src]

impl HasTable for CryptoAddrUpdate[src]

type Table = table

The table this type is associated with.

impl<'ident> Identifiable for &'ident CryptoAddrUpdate[src]

type Id = &'ident i32

The type of this struct's identifier. Read more

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

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

impl Serialize for CryptoAddrUpdate[src]

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

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

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<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> IntoSql for T[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SetParameter for T