pub struct FinancialInstrumentQuantity1Choice {
pub unit: Option<f64>,
pub face_amt: Option<f64>,
pub amtsd_val: Option<f64>,
}Fields§
§unit: Option<f64>§face_amt: Option<f64>§amtsd_val: Option<f64>Implementations§
Source§impl FinancialInstrumentQuantity1Choice
impl FinancialInstrumentQuantity1Choice
pub fn validate(&self) -> Result<(), ValidationError>
Trait Implementations§
Source§impl Clone for FinancialInstrumentQuantity1Choice
impl Clone for FinancialInstrumentQuantity1Choice
Source§fn clone(&self) -> FinancialInstrumentQuantity1Choice
fn clone(&self) -> FinancialInstrumentQuantity1Choice
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 Default for FinancialInstrumentQuantity1Choice
impl Default for FinancialInstrumentQuantity1Choice
Source§fn default() -> FinancialInstrumentQuantity1Choice
fn default() -> FinancialInstrumentQuantity1Choice
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FinancialInstrumentQuantity1Choice
impl<'de> Deserialize<'de> for FinancialInstrumentQuantity1Choice
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 FinancialInstrumentQuantity1Choice
impl PartialEq for FinancialInstrumentQuantity1Choice
Source§fn eq(&self, other: &FinancialInstrumentQuantity1Choice) -> bool
fn eq(&self, other: &FinancialInstrumentQuantity1Choice) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FinancialInstrumentQuantity1Choice
Auto Trait Implementations§
impl Freeze for FinancialInstrumentQuantity1Choice
impl RefUnwindSafe for FinancialInstrumentQuantity1Choice
impl Send for FinancialInstrumentQuantity1Choice
impl Sync for FinancialInstrumentQuantity1Choice
impl Unpin for FinancialInstrumentQuantity1Choice
impl UnwindSafe for FinancialInstrumentQuantity1Choice
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