#[repr(align(16))]pub struct ParsedMarkPrice {
pub symbol: String,
pub mark_price: Decimal,
pub index_price: Decimal,
pub funding_rate: Decimal,
pub next_funding_time: u64,
pub event_time: u64,
}Expand description
Parsed mark price with Decimal values
Fields§
§symbol: StringSymbol
mark_price: DecimalMark price
index_price: DecimalIndex price
funding_rate: DecimalFunding rate
next_funding_time: u64Next funding time
event_time: u64Event timestamp
Trait Implementations§
Source§impl Clone for ParsedMarkPrice
impl Clone for ParsedMarkPrice
Source§fn clone(&self) -> ParsedMarkPrice
fn clone(&self) -> ParsedMarkPrice
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ParsedMarkPrice
impl Debug for ParsedMarkPrice
Source§impl From<MarkPriceMessage> for ParsedMarkPrice
impl From<MarkPriceMessage> for ParsedMarkPrice
Source§fn from(msg: MarkPriceMessage) -> Self
fn from(msg: MarkPriceMessage) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ParsedMarkPrice
impl RefUnwindSafe for ParsedMarkPrice
impl Send for ParsedMarkPrice
impl Sync for ParsedMarkPrice
impl Unpin for ParsedMarkPrice
impl UnwindSafe for ParsedMarkPrice
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