pub struct InsuranceSummary {
pub updated_time: u64,
pub list: Vec<Insurance>,
}Expand description
Summarizes the insurance fund data for Bybit’s perpetual futures. The insurance fund absorbs losses when a trader’s position is liquidated below the bankruptcy price (bust price), preventing auto-deleveraging of other traders.
Fields§
§updated_time: u64Timestamp of the last update to the insurance fund (Unix epoch in milliseconds). Bots use this to verify the recency of the data, as outdated fund balances could signal risk.
list: Vec<Insurance>List of insurance fund entries for different coins. Each entry details the fund’s balance for a specific cryptocurrency, used to assess Bybit’s capacity to cover losses in perpetual futures.
Trait Implementations§
Source§impl Clone for InsuranceSummary
impl Clone for InsuranceSummary
Source§fn clone(&self) -> InsuranceSummary
fn clone(&self) -> InsuranceSummary
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 InsuranceSummary
impl Debug for InsuranceSummary
Source§impl<'de> Deserialize<'de> for InsuranceSummary
impl<'de> Deserialize<'de> for InsuranceSummary
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 InsuranceSummary
impl RefUnwindSafe for InsuranceSummary
impl Send for InsuranceSummary
impl Sync for InsuranceSummary
impl Unpin for InsuranceSummary
impl UnwindSafe for InsuranceSummary
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