pub struct MarginPriceIndex {
pub calc_time: u64,
pub price: f64,
pub symbol: String,
}Expand description
Margin price index.
Fields§
§calc_time: u64Calculation time.
price: f64Price.
symbol: StringSymbol.
Trait Implementations§
Source§impl Clone for MarginPriceIndex
impl Clone for MarginPriceIndex
Source§fn clone(&self) -> MarginPriceIndex
fn clone(&self) -> MarginPriceIndex
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 MarginPriceIndex
impl Debug for MarginPriceIndex
Source§impl<'de> Deserialize<'de> for MarginPriceIndex
impl<'de> Deserialize<'de> for MarginPriceIndex
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 MarginPriceIndex
impl RefUnwindSafe for MarginPriceIndex
impl Send for MarginPriceIndex
impl Sync for MarginPriceIndex
impl Unpin for MarginPriceIndex
impl UnwindSafe for MarginPriceIndex
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