pub struct MarginConfig {
pub market: String,
pub leverage: u64,
pub margin_type: String,
pub isolated_margin_leverage: Option<u64>,
}Fields§
§market: String§leverage: u64§margin_type: String§isolated_margin_leverage: Option<u64>Trait Implementations§
Source§impl Clone for MarginConfig
impl Clone for MarginConfig
Source§fn clone(&self) -> MarginConfig
fn clone(&self) -> MarginConfig
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 MarginConfig
impl Debug for MarginConfig
Source§impl<'de> Deserialize<'de> for MarginConfig
impl<'de> Deserialize<'de> for MarginConfig
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
Auto Trait Implementations§
impl Freeze for MarginConfig
impl RefUnwindSafe for MarginConfig
impl Send for MarginConfig
impl Sync for MarginConfig
impl Unpin for MarginConfig
impl UnwindSafe for MarginConfig
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