Struct stripe::CreateSourceSourceOrderItems
source · pub struct CreateSourceSourceOrderItems {
pub amount: Option<i64>,
pub currency: Option<Currency>,
pub description: Option<String>,
pub parent: Option<String>,
pub quantity: Option<u64>,
pub type_: Option<CreateSourceSourceOrderItemsType>,
}
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<CreateSourceSourceOrderItemsType>
Trait Implementations§
source§impl Clone for CreateSourceSourceOrderItems
impl Clone for CreateSourceSourceOrderItems
source§fn clone(&self) -> CreateSourceSourceOrderItems
fn clone(&self) -> CreateSourceSourceOrderItems
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 CreateSourceSourceOrderItems
impl Debug for CreateSourceSourceOrderItems
source§impl Default for CreateSourceSourceOrderItems
impl Default for CreateSourceSourceOrderItems
source§fn default() -> CreateSourceSourceOrderItems
fn default() -> CreateSourceSourceOrderItems
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CreateSourceSourceOrderItems
impl<'de> Deserialize<'de> for CreateSourceSourceOrderItems
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 CreateSourceSourceOrderItems
impl RefUnwindSafe for CreateSourceSourceOrderItems
impl Send for CreateSourceSourceOrderItems
impl Sync for CreateSourceSourceOrderItems
impl Unpin for CreateSourceSourceOrderItems
impl UnwindSafe for CreateSourceSourceOrderItems
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)