pub struct AdditionalDetails {
pub type: Type,
pub detail: String,
pub language_code: Option<String>,
}Expand description
AdditionalDetails : Additional information provided by the selling party for tax-related or any other purpose.
Fields§
§type: TypeThe type of the additional information provided by the selling party.
detail: StringThe detail of the additional information provided by the selling party.
language_code: Option<String>The language code of the additional information detail.
Implementations§
Source§impl AdditionalDetails
impl AdditionalDetails
Sourcepub fn new(type: Type, detail: String) -> AdditionalDetails
pub fn new(type: Type, detail: String) -> AdditionalDetails
Additional information provided by the selling party for tax-related or any other purpose.
Trait Implementations§
Source§impl Clone for AdditionalDetails
impl Clone for AdditionalDetails
Source§fn clone(&self) -> AdditionalDetails
fn clone(&self) -> AdditionalDetails
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 AdditionalDetails
impl Debug for AdditionalDetails
Source§impl Default for AdditionalDetails
impl Default for AdditionalDetails
Source§fn default() -> AdditionalDetails
fn default() -> AdditionalDetails
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AdditionalDetails
impl<'de> Deserialize<'de> for AdditionalDetails
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 AdditionalDetails
impl PartialEq for AdditionalDetails
Source§impl Serialize for AdditionalDetails
impl Serialize for AdditionalDetails
impl StructuralPartialEq for AdditionalDetails
Auto Trait Implementations§
impl Freeze for AdditionalDetails
impl RefUnwindSafe for AdditionalDetails
impl Send for AdditionalDetails
impl Sync for AdditionalDetails
impl Unpin for AdditionalDetails
impl UnwindSafe for AdditionalDetails
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