Enum binance::rest_model::MarginTransferType
source · #[repr(u8)]
pub enum MarginTransferType {
FromMainToMargin,
FromMarginToMain,
}Variants§
Trait Implementations§
source§impl Clone for MarginTransferType
impl Clone for MarginTransferType
source§fn clone(&self) -> MarginTransferType
fn clone(&self) -> MarginTransferType
Returns a copy 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 Debug for MarginTransferType
impl Debug for MarginTransferType
source§impl<'de> Deserialize<'de> for MarginTransferType
impl<'de> Deserialize<'de> for MarginTransferType
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<MarginTransferType> for MarginTransferType
impl PartialEq<MarginTransferType> for MarginTransferType
source§fn eq(&self, other: &MarginTransferType) -> bool
fn eq(&self, other: &MarginTransferType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for MarginTransferType
impl Serialize for MarginTransferType
impl Eq for MarginTransferType
impl StructuralEq for MarginTransferType
impl StructuralPartialEq for MarginTransferType
Auto Trait Implementations§
impl RefUnwindSafe for MarginTransferType
impl Send for MarginTransferType
impl Sync for MarginTransferType
impl Unpin for MarginTransferType
impl UnwindSafe for MarginTransferType
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.