pub struct LeverageSetting {
pub symbol: String,
pub leverage: f64,
}Fields§
§symbol: String§leverage: f64Trait Implementations§
Source§impl Clone for LeverageSetting
impl Clone for LeverageSetting
Source§fn clone(&self) -> LeverageSetting
fn clone(&self) -> LeverageSetting
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 LeverageSetting
impl Debug for LeverageSetting
Source§impl<'de> Deserialize<'de> for LeverageSetting
impl<'de> Deserialize<'de> for LeverageSetting
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 LeverageSetting
impl RefUnwindSafe for LeverageSetting
impl Send for LeverageSetting
impl Sync for LeverageSetting
impl Unpin for LeverageSetting
impl UnsafeUnpin for LeverageSetting
impl UnwindSafe for LeverageSetting
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