pub struct AmountOrRate3Choice {
pub amt: Option<ActiveCurrencyAnd13DecimalAmount>,
pub rate: Option<f64>,
}Fields§
§amt: Option<ActiveCurrencyAnd13DecimalAmount>§rate: Option<f64>Implementations§
Source§impl AmountOrRate3Choice
impl AmountOrRate3Choice
pub fn validate(&self) -> Result<(), ValidationError>
Auto Trait Implementations§
impl Freeze for AmountOrRate3Choice
impl RefUnwindSafe for AmountOrRate3Choice
impl Send for AmountOrRate3Choice
impl Sync for AmountOrRate3Choice
impl Unpin for AmountOrRate3Choice
impl UnwindSafe for AmountOrRate3Choice
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