pub struct TaxCharges2 {
pub id: Option<String>,
pub rate: Option<f64>,
pub amt: Option<ActiveOrHistoricCurrencyAndAmount>,
}Fields§
§id: Option<String>§rate: Option<f64>§amt: Option<ActiveOrHistoricCurrencyAndAmount>Implementations§
Source§impl TaxCharges2
impl TaxCharges2
pub fn validate(&self) -> Result<(), ValidationError>
Trait Implementations§
Source§impl Clone for TaxCharges2
impl Clone for TaxCharges2
Source§fn clone(&self) -> TaxCharges2
fn clone(&self) -> TaxCharges2
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 Debug for TaxCharges2
impl Debug for TaxCharges2
Source§impl Default for TaxCharges2
impl Default for TaxCharges2
Source§fn default() -> TaxCharges2
fn default() -> TaxCharges2
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TaxCharges2
impl<'de> Deserialize<'de> for TaxCharges2
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 TaxCharges2
impl PartialEq for TaxCharges2
Source§impl Serialize for TaxCharges2
impl Serialize for TaxCharges2
impl StructuralPartialEq for TaxCharges2
Auto Trait Implementations§
impl Freeze for TaxCharges2
impl RefUnwindSafe for TaxCharges2
impl Send for TaxCharges2
impl Sync for TaxCharges2
impl Unpin for TaxCharges2
impl UnwindSafe for TaxCharges2
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