pub struct BitmexInsuranceMsg {
pub currency: Ustr,
pub timestamp: Timestamp,
pub wallet_balance: i64,
}Expand description
Represents an insurance fund update.
Fields§
§currency: UstrThe currency of the insurance fund.
timestamp: TimestampTimestamp of the update.
wallet_balance: i64Current balance of the insurance wallet.
Trait Implementations§
Source§impl Clone for BitmexInsuranceMsg
impl Clone for BitmexInsuranceMsg
Source§fn clone(&self) -> BitmexInsuranceMsg
fn clone(&self) -> BitmexInsuranceMsg
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BitmexInsuranceMsg
impl Debug for BitmexInsuranceMsg
Source§impl<'de> Deserialize<'de> for BitmexInsuranceMsg
impl<'de> Deserialize<'de> for BitmexInsuranceMsg
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 BitmexInsuranceMsg
impl RefUnwindSafe for BitmexInsuranceMsg
impl Send for BitmexInsuranceMsg
impl Sync for BitmexInsuranceMsg
impl Unpin for BitmexInsuranceMsg
impl UnsafeUnpin for BitmexInsuranceMsg
impl UnwindSafe for BitmexInsuranceMsg
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