pub struct UserWithdrawal {
pub amount: Decimal,
pub amount_notional: Decimal,
pub asset: String,
pub asset_id: u16,
pub event_number: u64,
pub fee: Decimal,
pub time: i64,
pub tx_hash: String,
}Expand description
UserWithdrawal
JSON schema
{
"type": "object",
"required": [
"amount",
"amountNotional",
"asset",
"assetId",
"eventNumber",
"fee",
"time",
"txHash"
],
"properties": {
"amount": {
"type": "string",
"format": "decimal"
},
"amountNotional": {
"type": "string",
"format": "decimal"
},
"asset": {
"type": "string"
},
"assetId": {
"type": "integer",
"format": "uint16",
"minimum": 0.0
},
"eventNumber": {
"type": "integer",
"format": "uint64",
"minimum": 0.0
},
"fee": {
"type": "string",
"format": "decimal"
},
"time": {
"type": "integer",
"format": "int64"
},
"txHash": {
"type": "string"
}
}
}Fields§
§amount: Decimal§amount_notional: Decimal§asset: String§asset_id: u16§event_number: u64§fee: Decimal§time: i64§tx_hash: StringTrait Implementations§
Source§impl Clone for UserWithdrawal
impl Clone for UserWithdrawal
Source§fn clone(&self) -> UserWithdrawal
fn clone(&self) -> UserWithdrawal
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 UserWithdrawal
impl Debug for UserWithdrawal
Source§impl<'de> Deserialize<'de> for UserWithdrawal
impl<'de> Deserialize<'de> for UserWithdrawal
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 UserWithdrawal
impl RefUnwindSafe for UserWithdrawal
impl Send for UserWithdrawal
impl Sync for UserWithdrawal
impl Unpin for UserWithdrawal
impl UnsafeUnpin for UserWithdrawal
impl UnwindSafe for UserWithdrawal
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