pub enum SpotBalanceType {
Deposit,
Borrow,
}Expand description
Whether a spot balance is a deposit or borrow.
Variants§
Trait Implementations§
Source§impl Clone for SpotBalanceType
impl Clone for SpotBalanceType
Source§fn clone(&self) -> SpotBalanceType
fn clone(&self) -> SpotBalanceType
Returns a duplicate 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 SpotBalanceType
impl Debug for SpotBalanceType
Source§impl Default for SpotBalanceType
impl Default for SpotBalanceType
Source§fn default() -> SpotBalanceType
fn default() -> SpotBalanceType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SpotBalanceType
impl<'de> Deserialize<'de> for SpotBalanceType
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 for SpotBalanceType
impl PartialEq for SpotBalanceType
Source§impl Serialize for SpotBalanceType
impl Serialize for SpotBalanceType
impl Eq for SpotBalanceType
impl StructuralPartialEq for SpotBalanceType
Auto Trait Implementations§
impl Freeze for SpotBalanceType
impl RefUnwindSafe for SpotBalanceType
impl Send for SpotBalanceType
impl Sync for SpotBalanceType
impl Unpin for SpotBalanceType
impl UnsafeUnpin for SpotBalanceType
impl UnwindSafe for SpotBalanceType
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