pub struct UpdateSourceSourceOrderItems {
pub amount: Option<i64>,
pub currency: Option<Currency>,
pub description: Option<String>,
pub parent: Option<String>,
pub quantity: Option<u64>,
pub type_: Option<UpdateSourceSourceOrderItemsType>,
}Expand description
List of items constituting the order.
Fields§
§amount: Option<i64>§currency: Option<Currency>§description: Option<String>§parent: Option<String>The ID of the SKU being ordered.
quantity: Option<u64>The quantity of this order item.
When type is sku, this is the number of instances of the SKU to be ordered.
type_: Option<UpdateSourceSourceOrderItemsType>Implementations§
Trait Implementations§
Source§impl Clone for UpdateSourceSourceOrderItems
impl Clone for UpdateSourceSourceOrderItems
Source§fn clone(&self) -> UpdateSourceSourceOrderItems
fn clone(&self) -> UpdateSourceSourceOrderItems
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 UpdateSourceSourceOrderItems
impl Debug for UpdateSourceSourceOrderItems
Source§impl PartialEq for UpdateSourceSourceOrderItems
impl PartialEq for UpdateSourceSourceOrderItems
Source§fn eq(&self, other: &UpdateSourceSourceOrderItems) -> bool
fn eq(&self, other: &UpdateSourceSourceOrderItems) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for UpdateSourceSourceOrderItems
impl StructuralPartialEq for UpdateSourceSourceOrderItems
Auto Trait Implementations§
impl Freeze for UpdateSourceSourceOrderItems
impl RefUnwindSafe for UpdateSourceSourceOrderItems
impl Send for UpdateSourceSourceOrderItems
impl Sync for UpdateSourceSourceOrderItems
impl Unpin for UpdateSourceSourceOrderItems
impl UnsafeUnpin for UpdateSourceSourceOrderItems
impl UnwindSafe for UpdateSourceSourceOrderItems
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