pub struct RefundDetails {
pub tax: Option<Money>,
pub total: Option<Money>,
}Expand description
Details for a partial or full refund.
This type is not used in any activity, and only used as part of another schema.
Fields§
§tax: Option<Money>The amount of tax refunded.
total: Option<Money>The total amount refunded, including tax.
Trait Implementations§
Source§impl Clone for RefundDetails
impl Clone for RefundDetails
Source§fn clone(&self) -> RefundDetails
fn clone(&self) -> RefundDetails
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 RefundDetails
impl Debug for RefundDetails
Source§impl Default for RefundDetails
impl Default for RefundDetails
Source§fn default() -> RefundDetails
fn default() -> RefundDetails
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RefundDetails
impl<'de> Deserialize<'de> for RefundDetails
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 Serialize for RefundDetails
impl Serialize for RefundDetails
impl Part for RefundDetails
Auto Trait Implementations§
impl Freeze for RefundDetails
impl RefUnwindSafe for RefundDetails
impl Send for RefundDetails
impl Sync for RefundDetails
impl Unpin for RefundDetails
impl UnwindSafe for RefundDetails
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