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