#[non_exhaustive]pub struct HomeConversionFactors {
pub gain_quote_home: Option<ConversionFactor>,
pub loss_quote_home: Option<ConversionFactor>,
pub gain_base_home: Option<ConversionFactor>,
pub loss_base_home: Option<ConversionFactor>,
}Expand description
A HomeConversionFactors message contains information used to convert amounts, from an Instrument’s base or quote currency, to the home currency of an Account.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.gain_quote_home: Option<ConversionFactor>The gainQuoteHome field.
loss_quote_home: Option<ConversionFactor>The lossQuoteHome field.
gain_base_home: Option<ConversionFactor>The gainBaseHome field.
loss_base_home: Option<ConversionFactor>The lossBaseHome field.
Trait Implementations§
Source§impl Clone for HomeConversionFactors
impl Clone for HomeConversionFactors
Source§fn clone(&self) -> HomeConversionFactors
fn clone(&self) -> HomeConversionFactors
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 HomeConversionFactors
impl Debug for HomeConversionFactors
Source§impl<'de> Deserialize<'de> for HomeConversionFactors
impl<'de> Deserialize<'de> for HomeConversionFactors
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 HomeConversionFactors
impl PartialEq for HomeConversionFactors
Source§impl Serialize for HomeConversionFactors
impl Serialize for HomeConversionFactors
impl StructuralPartialEq for HomeConversionFactors
Auto Trait Implementations§
impl Freeze for HomeConversionFactors
impl RefUnwindSafe for HomeConversionFactors
impl Send for HomeConversionFactors
impl Sync for HomeConversionFactors
impl Unpin for HomeConversionFactors
impl UnsafeUnpin for HomeConversionFactors
impl UnwindSafe for HomeConversionFactors
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