pub struct AdvancedCommerceTransactionItem {
pub sku: String,
pub description: String,
pub display_name: String,
pub offer: Offer,
pub price: i64,
pub refunds: Vec<Refund>,
pub revocation_date: DateTime<Utc>,
}Expand description
Fields§
§sku: StringThe SKU of the item.
description: StringThe new description for the item.
display_name: StringThe display name for the item.
offer: OfferAn offer for the item.
price: i64The price in milliunits.
refunds: Vec<Refund>§revocation_date: DateTime<Utc>Trait Implementations§
Source§impl Clone for AdvancedCommerceTransactionItem
impl Clone for AdvancedCommerceTransactionItem
Source§fn clone(&self) -> AdvancedCommerceTransactionItem
fn clone(&self) -> AdvancedCommerceTransactionItem
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<'de> Deserialize<'de> for AdvancedCommerceTransactionItem
impl<'de> Deserialize<'de> for AdvancedCommerceTransactionItem
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 AdvancedCommerceTransactionItem
impl PartialEq for AdvancedCommerceTransactionItem
Source§fn eq(&self, other: &AdvancedCommerceTransactionItem) -> bool
fn eq(&self, other: &AdvancedCommerceTransactionItem) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for AdvancedCommerceTransactionItem
impl StructuralPartialEq for AdvancedCommerceTransactionItem
Auto Trait Implementations§
impl Freeze for AdvancedCommerceTransactionItem
impl RefUnwindSafe for AdvancedCommerceTransactionItem
impl Send for AdvancedCommerceTransactionItem
impl Sync for AdvancedCommerceTransactionItem
impl Unpin for AdvancedCommerceTransactionItem
impl UnwindSafe for AdvancedCommerceTransactionItem
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