pub struct CurrencyAndAmount {
pub ccy: String,
pub value: f64,
}Fields§
§ccy: String§value: f64Implementations§
Source§impl CurrencyAndAmount
impl CurrencyAndAmount
pub fn validate(&self) -> Result<(), ValidationError>
Auto Trait Implementations§
impl Freeze for CurrencyAndAmount
impl RefUnwindSafe for CurrencyAndAmount
impl Send for CurrencyAndAmount
impl Sync for CurrencyAndAmount
impl Unpin for CurrencyAndAmount
impl UnwindSafe for CurrencyAndAmount
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