#[non_exhaustive]pub enum SymbolStatus {
PendingTrading,
Trading,
PreDelivering,
Delivering,
Delivered,
PreSettle,
Settling,
Close,
TradingHalt,
TradingCancelOnly,
Other(String),
}Expand description
A contract’s status, from exchangeInfo. The variants are the list in
Binance’s common definitions; exchangeInfo used three of them on
2026-10-07.
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.
PendingTrading
Trading
PreDelivering
Delivering
Delivered
PreSettle
Settling
A delisted perpetual. 134 of 924 symbols on 2026-10-07.
Close
TradingHalt
TradingCancelOnly
Other(String)
A value this version of the SDK does not recognise, kept verbatim. Sending it in a request passes the string through unchanged.
Build it with from_wire or FromStr, never directly:
Other holding a known spelling serialises as the named variant
does, but does not compare equal to it.
Implementations§
Source§impl SymbolStatus
impl SymbolStatus
Trait Implementations§
Source§impl Clone for SymbolStatus
impl Clone for SymbolStatus
Source§impl Debug for SymbolStatus
impl Debug for SymbolStatus
Source§impl<'de> Deserialize<'de> for SymbolStatus
impl<'de> Deserialize<'de> for SymbolStatus
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for SymbolStatus
impl Display for SymbolStatus
impl Eq for SymbolStatus
Source§impl FromStr for SymbolStatus
impl FromStr for SymbolStatus
Source§impl Hash for SymbolStatus
impl Hash for SymbolStatus
Source§impl PartialEq for SymbolStatus
impl PartialEq for SymbolStatus
Source§impl Serialize for SymbolStatus
impl Serialize for SymbolStatus
impl StructuralPartialEq for SymbolStatus
Auto Trait Implementations§
impl Freeze for SymbolStatus
impl RefUnwindSafe for SymbolStatus
impl Send for SymbolStatus
impl Sync for SymbolStatus
impl Unpin for SymbolStatus
impl UnsafeUnpin for SymbolStatus
impl UnwindSafe for SymbolStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.