pub struct DeribitPriceRankingNotification {
pub enabled: Option<bool>,
pub identifier: Option<String>,
pub original_price: Option<f64>,
pub price: Option<f64>,
pub timestamp: Option<i64>,
pub weight: Option<f64>,
}Fields§
§enabled: Option<bool>§identifier: Option<String>§original_price: Option<f64>§price: Option<f64>§timestamp: Option<i64>§weight: Option<f64>Trait Implementations§
Source§impl Clone for DeribitPriceRankingNotification
impl Clone for DeribitPriceRankingNotification
Source§fn clone(&self) -> DeribitPriceRankingNotification
fn clone(&self) -> DeribitPriceRankingNotification
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 Default for DeribitPriceRankingNotification
impl Default for DeribitPriceRankingNotification
Source§fn default() -> DeribitPriceRankingNotification
fn default() -> DeribitPriceRankingNotification
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeribitPriceRankingNotification
impl<'de> Deserialize<'de> for DeribitPriceRankingNotification
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
Source§impl PartialEq for DeribitPriceRankingNotification
impl PartialEq for DeribitPriceRankingNotification
Source§fn eq(&self, other: &DeribitPriceRankingNotification) -> bool
fn eq(&self, other: &DeribitPriceRankingNotification) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DeribitPriceRankingNotification
Auto Trait Implementations§
impl Freeze for DeribitPriceRankingNotification
impl RefUnwindSafe for DeribitPriceRankingNotification
impl Send for DeribitPriceRankingNotification
impl Sync for DeribitPriceRankingNotification
impl Unpin for DeribitPriceRankingNotification
impl UnwindSafe for DeribitPriceRankingNotification
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