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