pub struct PaginatedResponseUserLiquidationDataItem {
pub event_number: u64,
pub liquidatee_address: String,
pub liquidator_address: String,
pub liquidator_reward: Decimal,
pub mark_price: Decimal,
pub market_id: u16,
pub realized_pnl: Decimal,
pub side: String,
pub size: Decimal,
pub symbol: String,
pub time: i64,
pub tx_hash: String,
}Expand description
PaginatedResponseUserLiquidationDataItem
JSON schema
{
"type": "object",
"required": [
"eventNumber",
"liquidateeAddress",
"liquidatorAddress",
"liquidatorReward",
"markPrice",
"marketId",
"realizedPnl",
"side",
"size",
"symbol",
"time",
"txHash"
],
"properties": {
"eventNumber": {
"type": "integer",
"format": "uint64",
"minimum": 0.0
},
"liquidateeAddress": {
"type": "string"
},
"liquidatorAddress": {
"type": "string"
},
"liquidatorReward": {
"type": "string",
"format": "decimal"
},
"markPrice": {
"type": "string",
"format": "decimal"
},
"marketId": {
"type": "integer",
"format": "uint16",
"minimum": 0.0
},
"realizedPnl": {
"type": "string",
"format": "decimal"
},
"side": {
"type": "string"
},
"size": {
"type": "string",
"format": "decimal"
},
"symbol": {
"type": "string"
},
"time": {
"type": "integer",
"format": "int64"
},
"txHash": {
"type": "string"
}
}
}Fields§
§event_number: u64§liquidatee_address: String§liquidator_address: String§liquidator_reward: Decimal§mark_price: Decimal§market_id: u16§realized_pnl: Decimal§side: String§size: Decimal§symbol: String§time: i64§tx_hash: StringTrait Implementations§
Source§impl Clone for PaginatedResponseUserLiquidationDataItem
impl Clone for PaginatedResponseUserLiquidationDataItem
Source§fn clone(&self) -> PaginatedResponseUserLiquidationDataItem
fn clone(&self) -> PaginatedResponseUserLiquidationDataItem
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<'de> Deserialize<'de> for PaginatedResponseUserLiquidationDataItem
impl<'de> Deserialize<'de> for PaginatedResponseUserLiquidationDataItem
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 PaginatedResponseUserLiquidationDataItem
impl RefUnwindSafe for PaginatedResponseUserLiquidationDataItem
impl Send for PaginatedResponseUserLiquidationDataItem
impl Sync for PaginatedResponseUserLiquidationDataItem
impl Unpin for PaginatedResponseUserLiquidationDataItem
impl UnsafeUnpin for PaginatedResponseUserLiquidationDataItem
impl UnwindSafe for PaginatedResponseUserLiquidationDataItem
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