pub struct LegStructure {
pub direction: Option<Direction>,
pub instrument_name: Option<String>,
pub price: Option<f64>,
pub ratio: Option<i64>,
}Fields§
§direction: Option<Direction>§instrument_name: Option<String>§price: Option<f64>§ratio: Option<i64>Trait Implementations§
Source§impl Clone for LegStructure
impl Clone for LegStructure
Source§fn clone(&self) -> LegStructure
fn clone(&self) -> LegStructure
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 LegStructure
impl Debug for LegStructure
Source§impl Default for LegStructure
impl Default for LegStructure
Source§fn default() -> LegStructure
fn default() -> LegStructure
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LegStructure
impl<'de> Deserialize<'de> for LegStructure
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 LegStructure
impl PartialEq for LegStructure
Source§impl Serialize for LegStructure
impl Serialize for LegStructure
impl StructuralPartialEq for LegStructure
Auto Trait Implementations§
impl Freeze for LegStructure
impl RefUnwindSafe for LegStructure
impl Send for LegStructure
impl Sync for LegStructure
impl Unpin for LegStructure
impl UnwindSafe for LegStructure
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