Struct amazon_sp_vendor_direct_fulfillment_payments::models::charge_details::ChargeDetails
source · [−]pub struct ChargeDetails {
pub _type: Type,
pub charge_amount: Box<Money>,
pub tax_details: Option<Vec<TaxDetail>>,
}Expand description
ChargeDetails : Monetary and tax details of the charge.
Fields
_type: TypeType of charge applied.
charge_amount: Box<Money>tax_details: Option<Vec<TaxDetail>>Individual tax details per line item.
Implementations
sourceimpl ChargeDetails
impl ChargeDetails
sourcepub fn new(_type: Type, charge_amount: Money) -> ChargeDetails
pub fn new(_type: Type, charge_amount: Money) -> ChargeDetails
Monetary and tax details of the charge.
Trait Implementations
sourceimpl Clone for ChargeDetails
impl Clone for ChargeDetails
sourcefn clone(&self) -> ChargeDetails
fn clone(&self) -> ChargeDetails
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 ChargeDetails
impl Debug for ChargeDetails
sourceimpl Default for ChargeDetails
impl Default for ChargeDetails
sourcefn default() -> ChargeDetails
fn default() -> ChargeDetails
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ChargeDetails
impl<'de> Deserialize<'de> for ChargeDetails
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<ChargeDetails> for ChargeDetails
impl PartialEq<ChargeDetails> for ChargeDetails
sourcefn eq(&self, other: &ChargeDetails) -> bool
fn eq(&self, other: &ChargeDetails) -> bool
sourceimpl Serialize for ChargeDetails
impl Serialize for ChargeDetails
impl StructuralPartialEq for ChargeDetails
Auto Trait Implementations
impl RefUnwindSafe for ChargeDetails
impl Send for ChargeDetails
impl Sync for ChargeDetails
impl Unpin for ChargeDetails
impl UnwindSafe for ChargeDetails
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