pub struct SnapshotFuturesSnapshotVosItemDataPositionItem {
pub entry_price: String,
pub mark_price: String,
pub position_amt: String,
pub symbol: String,
pub un_realized_profit: String,
}
Expand description
SnapshotFuturesSnapshotVosItemDataPositionItem
JSON schema
{
"type": "object",
"required": [
"entryPrice",
"markPrice",
"positionAmt",
"symbol",
"unRealizedProfit"
],
"properties": {
"entryPrice": {
"examples": [
"7130.41000000"
],
"type": "string"
},
"markPrice": {
"examples": [
"7257.66239673"
],
"type": "string"
},
"positionAmt": {
"examples": [
"0.01000000"
],
"type": "string"
},
"symbol": {
"examples": [
"BTCUSDT"
],
"type": "string"
},
"unRealizedProfit": {
"examples": [
"1.24029054"
],
"type": "string"
}
}
}
Fields§
§entry_price: String
§mark_price: String
§position_amt: String
§symbol: String
§un_realized_profit: String
Trait Implementations§
Source§impl Clone for SnapshotFuturesSnapshotVosItemDataPositionItem
impl Clone for SnapshotFuturesSnapshotVosItemDataPositionItem
Source§fn clone(&self) -> SnapshotFuturesSnapshotVosItemDataPositionItem
fn clone(&self) -> SnapshotFuturesSnapshotVosItemDataPositionItem
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 SnapshotFuturesSnapshotVosItemDataPositionItem
impl<'de> Deserialize<'de> for SnapshotFuturesSnapshotVosItemDataPositionItem
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
Source§impl From<&SnapshotFuturesSnapshotVosItemDataPositionItem> for SnapshotFuturesSnapshotVosItemDataPositionItem
impl From<&SnapshotFuturesSnapshotVosItemDataPositionItem> for SnapshotFuturesSnapshotVosItemDataPositionItem
Source§fn from(value: &SnapshotFuturesSnapshotVosItemDataPositionItem) -> Self
fn from(value: &SnapshotFuturesSnapshotVosItemDataPositionItem) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SnapshotFuturesSnapshotVosItemDataPositionItem
impl RefUnwindSafe for SnapshotFuturesSnapshotVosItemDataPositionItem
impl Send for SnapshotFuturesSnapshotVosItemDataPositionItem
impl Sync for SnapshotFuturesSnapshotVosItemDataPositionItem
impl Unpin for SnapshotFuturesSnapshotVosItemDataPositionItem
impl UnwindSafe for SnapshotFuturesSnapshotVosItemDataPositionItem
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