pub struct InsuranceAsset {
pub asset: String,
pub margin_balance: Decimal,
pub update_time: i64,
}Expand description
InsuranceAsset
JSON schema
{
"type": "object",
"required": [
"asset",
"marginBalance",
"updateTime"
],
"properties": {
"asset": {
"type": "string"
},
"marginBalance": {
"type": "string",
"format": "decimal"
},
"updateTime": {
"type": "integer",
"format": "int64"
}
}
}Fields§
§asset: String§margin_balance: Decimal§update_time: i64Trait Implementations§
Source§impl Clone for InsuranceAsset
impl Clone for InsuranceAsset
Source§fn clone(&self) -> InsuranceAsset
fn clone(&self) -> InsuranceAsset
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 InsuranceAsset
impl Debug for InsuranceAsset
Source§impl<'de> Deserialize<'de> for InsuranceAsset
impl<'de> Deserialize<'de> for InsuranceAsset
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 InsuranceAsset
impl RefUnwindSafe for InsuranceAsset
impl Send for InsuranceAsset
impl Sync for InsuranceAsset
impl Unpin for InsuranceAsset
impl UnsafeUnpin for InsuranceAsset
impl UnwindSafe for InsuranceAsset
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