#[non_exhaustive]pub enum MarketStatus {
Trading,
Halted,
PreLaunch,
Delisted,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for MarketStatus
impl Clone for MarketStatus
Source§fn clone(&self) -> MarketStatus
fn clone(&self) -> MarketStatus
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 MarketStatus
impl Debug for MarketStatus
Source§impl Display for MarketStatus
impl Display for MarketStatus
Source§impl FromStr for MarketStatus
impl FromStr for MarketStatus
Source§impl Hash for MarketStatus
impl Hash for MarketStatus
Source§impl PartialEq for MarketStatus
impl PartialEq for MarketStatus
Source§fn eq(&self, other: &MarketStatus) -> bool
fn eq(&self, other: &MarketStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<&str> for MarketStatus
impl TryFrom<&str> for MarketStatus
impl Copy for MarketStatus
impl Eq for MarketStatus
impl StructuralPartialEq for MarketStatus
Auto Trait Implementations§
impl Freeze for MarketStatus
impl RefUnwindSafe for MarketStatus
impl Send for MarketStatus
impl Sync for MarketStatus
impl Unpin for MarketStatus
impl UnsafeUnpin for MarketStatus
impl UnwindSafe for MarketStatus
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