pub struct CreateInvoiceShippingCost {
pub shipping_rate: Option<String>,
pub shipping_rate_data: Option<CreateInvoiceShippingCostShippingRateData>,
}
Fields§
§shipping_rate: Option<String>
The ID of the shipping rate to use for this order.
shipping_rate_data: Option<CreateInvoiceShippingCostShippingRateData>
Parameters to create a new ad-hoc shipping rate for this order.
Trait Implementations§
source§impl Clone for CreateInvoiceShippingCost
impl Clone for CreateInvoiceShippingCost
source§fn clone(&self) -> CreateInvoiceShippingCost
fn clone(&self) -> CreateInvoiceShippingCost
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 CreateInvoiceShippingCost
impl Debug for CreateInvoiceShippingCost
source§impl Default for CreateInvoiceShippingCost
impl Default for CreateInvoiceShippingCost
source§fn default() -> CreateInvoiceShippingCost
fn default() -> CreateInvoiceShippingCost
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CreateInvoiceShippingCost
impl<'de> Deserialize<'de> for CreateInvoiceShippingCost
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 RefUnwindSafe for CreateInvoiceShippingCost
impl Send for CreateInvoiceShippingCost
impl Sync for CreateInvoiceShippingCost
impl Unpin for CreateInvoiceShippingCost
impl UnwindSafe for CreateInvoiceShippingCost
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