pub struct TokenTransferDbObj {Show 14 fields
pub id: i64,
pub payment_id: Option<String>,
pub from_addr: String,
pub receiver_addr: String,
pub chain_id: i64,
pub token_addr: Option<String>,
pub token_amount: String,
pub deposit_id: Option<String>,
pub deposit_finish: i64,
pub create_date: DateTime<Utc>,
pub tx_id: Option<i64>,
pub paid_date: Option<DateTime<Utc>>,
pub fee_paid: Option<String>,
pub error: Option<String>,
}Fields§
§id: i64§payment_id: Option<String>§from_addr: String§receiver_addr: String§chain_id: i64§token_addr: Option<String>§token_amount: String§deposit_id: Option<String>If set payment done from internal deposit
deposit_finish: i64§create_date: DateTime<Utc>The time when the record is inserted into the database It is override when inserting new entry to db
tx_id: Option<i64>§paid_date: Option<DateTime<Utc>>§fee_paid: Option<String>§error: Option<String>Trait Implementations§
Source§impl Clone for TokenTransferDbObj
impl Clone for TokenTransferDbObj
Source§fn clone(&self) -> TokenTransferDbObj
fn clone(&self) -> TokenTransferDbObj
Returns a duplicate 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 TokenTransferDbObj
impl Debug for TokenTransferDbObj
Source§impl<'de> Deserialize<'de> for TokenTransferDbObj
impl<'de> Deserialize<'de> for TokenTransferDbObj
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TokenTransferDbObj, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TokenTransferDbObj, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<'a, R> FromRow<'a, R> for TokenTransferDbObjwhere
R: Row,
&'a str: ColumnIndex<R>,
i64: Decode<'a, <R as Row>::Database> + Type<<R as Row>::Database>,
Option<String>: Decode<'a, <R as Row>::Database> + Type<<R as Row>::Database>,
String: Decode<'a, <R as Row>::Database> + Type<<R as Row>::Database>,
DateTime<Utc>: Decode<'a, <R as Row>::Database> + Type<<R as Row>::Database>,
Option<i64>: Decode<'a, <R as Row>::Database> + Type<<R as Row>::Database>,
Option<DateTime<Utc>>: Decode<'a, <R as Row>::Database> + Type<<R as Row>::Database>,
impl<'a, R> FromRow<'a, R> for TokenTransferDbObjwhere
R: Row,
&'a str: ColumnIndex<R>,
i64: Decode<'a, <R as Row>::Database> + Type<<R as Row>::Database>,
Option<String>: Decode<'a, <R as Row>::Database> + Type<<R as Row>::Database>,
String: Decode<'a, <R as Row>::Database> + Type<<R as Row>::Database>,
DateTime<Utc>: Decode<'a, <R as Row>::Database> + Type<<R as Row>::Database>,
Option<i64>: Decode<'a, <R as Row>::Database> + Type<<R as Row>::Database>,
Option<DateTime<Utc>>: Decode<'a, <R as Row>::Database> + Type<<R as Row>::Database>,
Source§impl Serialize for TokenTransferDbObj
impl Serialize for TokenTransferDbObj
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for TokenTransferDbObj
impl RefUnwindSafe for TokenTransferDbObj
impl Send for TokenTransferDbObj
impl Sync for TokenTransferDbObj
impl Unpin for TokenTransferDbObj
impl UnwindSafe for TokenTransferDbObj
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more