pub struct MarketKind(/* private fields */);Implementations§
Source§impl MarketKind
impl MarketKind
Source§impl MarketKind
impl MarketKind
pub const FX_CFD: &'static str = "fx_cfd"
pub const METAL_CFD: &'static str = "metal_cfd"
pub const COMMODITY_CFD: &'static str = "commodity_cfd"
pub const INDEX_CFD: &'static str = "index_cfd"
pub const LINEAR_EXPOSURE: &'static str = "linear_exposure"
pub const CASH_SPOT: &'static str = "cash_spot"
pub const LINEAR_FUTURE: &'static str = "linear_future"
pub const LINEAR_PERPETUAL: &'static str = "linear_perpetual"
pub const INVERSE_FUTURE: &'static str = "inverse_future"
pub const INVERSE_PERPETUAL: &'static str = "inverse_perpetual"
Trait Implementations§
Source§impl AsRef<str> for MarketKind
impl AsRef<str> for MarketKind
Source§impl Clone for MarketKind
impl Clone for MarketKind
Source§fn clone(&self) -> MarketKind
fn clone(&self) -> MarketKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MarketKind
impl Debug for MarketKind
Source§impl<'de> Deserialize<'de> for MarketKind
impl<'de> Deserialize<'de> for MarketKind
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 Display for MarketKind
impl Display for MarketKind
impl Eq for MarketKind
Source§impl FromStr for MarketKind
impl FromStr for MarketKind
Source§impl Hash for MarketKind
impl Hash for MarketKind
Source§impl Ord for MarketKind
impl Ord for MarketKind
Source§fn cmp(&self, other: &MarketKind) -> Ordering
fn cmp(&self, other: &MarketKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for MarketKind
impl PartialEq for MarketKind
Source§impl PartialOrd for MarketKind
impl PartialOrd for MarketKind
Source§impl Serialize for MarketKind
impl Serialize for MarketKind
impl StructuralPartialEq for MarketKind
Auto Trait Implementations§
impl Freeze for MarketKind
impl RefUnwindSafe for MarketKind
impl Send for MarketKind
impl Sync for MarketKind
impl Unpin for MarketKind
impl UnsafeUnpin for MarketKind
impl UnwindSafe for MarketKind
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