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>,
}
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>
Trait Implementations§
source§impl Clone for UpdateSourceSourceOrderItems
impl Clone for UpdateSourceSourceOrderItems
source§fn clone(&self) -> UpdateSourceSourceOrderItems
fn clone(&self) -> UpdateSourceSourceOrderItems
Returns a copy 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 Default for UpdateSourceSourceOrderItems
impl Default for UpdateSourceSourceOrderItems
source§fn default() -> UpdateSourceSourceOrderItems
fn default() -> UpdateSourceSourceOrderItems
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UpdateSourceSourceOrderItems
impl<'de> Deserialize<'de> for UpdateSourceSourceOrderItems
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
Auto Trait Implementations§
impl Freeze for UpdateSourceSourceOrderItems
impl RefUnwindSafe for UpdateSourceSourceOrderItems
impl Send for UpdateSourceSourceOrderItems
impl Sync for UpdateSourceSourceOrderItems
impl Unpin 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