#[non_exhaustive]pub enum ConvertTradeState {
FullyFilled,
Rejected,
Unknown(String),
}Expand description
State of a Convert trade.
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.
FullyFilled
The conversion completed successfully.
Rejected
The conversion was rejected.
Unknown(String)
A state not modeled by this crate version.
Implementations§
Trait Implementations§
Source§impl Clone for ConvertTradeState
impl Clone for ConvertTradeState
Source§fn clone(&self) -> ConvertTradeState
fn clone(&self) -> ConvertTradeState
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 ConvertTradeState
impl Debug for ConvertTradeState
Source§impl<'de> Deserialize<'de> for ConvertTradeState
impl<'de> Deserialize<'de> for ConvertTradeState
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 ConvertTradeState
impl Display for ConvertTradeState
impl Eq for ConvertTradeState
Source§impl From<&str> for ConvertTradeState
impl From<&str> for ConvertTradeState
Source§impl Hash for ConvertTradeState
impl Hash for ConvertTradeState
Source§impl PartialEq for ConvertTradeState
impl PartialEq for ConvertTradeState
Source§fn eq(&self, other: &ConvertTradeState) -> bool
fn eq(&self, other: &ConvertTradeState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConvertTradeState
Auto Trait Implementations§
impl Freeze for ConvertTradeState
impl RefUnwindSafe for ConvertTradeState
impl Send for ConvertTradeState
impl Sync for ConvertTradeState
impl Unpin for ConvertTradeState
impl UnsafeUnpin for ConvertTradeState
impl UnwindSafe for ConvertTradeState
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