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