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