pub struct UserFundingPayment {
pub event_number: u64,
pub funding_applied: Decimal,
pub market_id: u16,
pub symbol: String,
pub time: i64,
pub tx_hash: String,
}Expand description
user funding payment history
JSON schema
{
"description": "user funding payment history",
"type": "object",
"required": [
"eventNumber",
"fundingApplied",
"marketId",
"symbol",
"time",
"txHash"
],
"properties": {
"eventNumber": {
"type": "integer",
"format": "uint64",
"minimum": 0.0
},
"fundingApplied": {
"type": "string",
"format": "decimal"
},
"marketId": {
"type": "integer",
"format": "uint16",
"minimum": 0.0
},
"symbol": {
"type": "string"
},
"time": {
"type": "integer",
"format": "int64"
},
"txHash": {
"type": "string"
}
}
}Fields§
§event_number: u64§funding_applied: Decimal§market_id: u16§symbol: String§time: i64§tx_hash: StringTrait Implementations§
Source§impl Clone for UserFundingPayment
impl Clone for UserFundingPayment
Source§fn clone(&self) -> UserFundingPayment
fn clone(&self) -> UserFundingPayment
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 UserFundingPayment
impl Debug for UserFundingPayment
Source§impl<'de> Deserialize<'de> for UserFundingPayment
impl<'de> Deserialize<'de> for UserFundingPayment
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 UserFundingPayment
impl RefUnwindSafe for UserFundingPayment
impl Send for UserFundingPayment
impl Sync for UserFundingPayment
impl Unpin for UserFundingPayment
impl UnsafeUnpin for UserFundingPayment
impl UnwindSafe for UserFundingPayment
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