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