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
sourceimpl 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
sourceimpl Clone for AdditionalDetails
impl Clone for AdditionalDetails
sourcefn clone(&self) -> AdditionalDetails
fn clone(&self) -> AdditionalDetails
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for AdditionalDetails
impl Debug for AdditionalDetails
sourceimpl Default for AdditionalDetails
impl Default for AdditionalDetails
sourcefn default() -> AdditionalDetails
fn default() -> AdditionalDetails
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for AdditionalDetails
impl<'de> Deserialize<'de> for AdditionalDetails
sourcefn 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
sourceimpl PartialEq<AdditionalDetails> for AdditionalDetails
impl PartialEq<AdditionalDetails> for AdditionalDetails
sourcefn eq(&self, other: &AdditionalDetails) -> bool
fn eq(&self, other: &AdditionalDetails) -> bool
sourceimpl Serialize for AdditionalDetails
impl Serialize for AdditionalDetails
impl StructuralPartialEq for AdditionalDetails
Auto Trait Implementations
impl RefUnwindSafe for AdditionalDetails
impl Send for AdditionalDetails
impl Sync for AdditionalDetails
impl Unpin for AdditionalDetails
impl UnwindSafe for AdditionalDetails
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more