pub struct CollateralTransaction {
pub amount: f64,
pub currency: String,
pub chain_id: i64,
pub wallet_address: String,
pub transaction_hash: String,
pub memo: Option<String>,
pub company_id: Option<Uuid>,
pub user_id: Option<Uuid>,
pub posted_at: Option<DateTime<Utc>>,
}Expand description
Collateral transaction details
Fields§
§amount: f64§currency: String§chain_id: i64§wallet_address: String§transaction_hash: String§memo: Option<String>§company_id: Option<Uuid>§user_id: Option<Uuid>§posted_at: Option<DateTime<Utc>>Trait Implementations§
Source§impl Clone for CollateralTransaction
impl Clone for CollateralTransaction
Source§fn clone(&self) -> CollateralTransaction
fn clone(&self) -> CollateralTransaction
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 CollateralTransaction
impl Debug for CollateralTransaction
Source§impl<'de> Deserialize<'de> for CollateralTransaction
impl<'de> Deserialize<'de> for CollateralTransaction
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
Auto Trait Implementations§
impl Freeze for CollateralTransaction
impl RefUnwindSafe for CollateralTransaction
impl Send for CollateralTransaction
impl Sync for CollateralTransaction
impl Unpin for CollateralTransaction
impl UnwindSafe for CollateralTransaction
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