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