pub struct CreateInvoiceShippingCost {
pub shipping_rate: Option<String>,
pub shipping_rate_data: Option<CreateInvoiceShippingCostShippingRateData>,
}
Expand description
Settings for the cost of shipping for this invoice.
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.
Implementations§
Trait Implementations§
Source§impl Clone for CreateInvoiceShippingCost
impl Clone for CreateInvoiceShippingCost
Source§fn clone(&self) -> CreateInvoiceShippingCost
fn clone(&self) -> CreateInvoiceShippingCost
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 CreateInvoiceShippingCost
impl Debug for CreateInvoiceShippingCost
Source§impl Default for CreateInvoiceShippingCost
impl Default for CreateInvoiceShippingCost
Auto Trait Implementations§
impl Freeze for CreateInvoiceShippingCost
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