pub struct MarginMode {
pub symbol: Option<String>,
pub margin_mode: Option<String>,
pub raw: Value,
}Expand description
Unified margin mode per symbol.
Fields§
§symbol: Option<String>§margin_mode: Option<String>§raw: ValueImplementations§
Source§impl MarginMode
impl MarginMode
pub fn from_value(v: Value) -> Self
Trait Implementations§
Source§impl Clone for MarginMode
impl Clone for MarginMode
Source§fn clone(&self) -> MarginMode
fn clone(&self) -> MarginMode
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 MarginMode
impl Debug for MarginMode
Source§impl Default for MarginMode
impl Default for MarginMode
Source§fn default() -> MarginMode
fn default() -> MarginMode
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MarginMode
impl RefUnwindSafe for MarginMode
impl Send for MarginMode
impl Sync for MarginMode
impl Unpin for MarginMode
impl UnsafeUnpin for MarginMode
impl UnwindSafe for MarginMode
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