pub struct UpdateInvoiceShippingCost {
pub shipping_rate: Option<String>,
pub shipping_rate_data: Option<UpdateInvoiceShippingCostShippingRateData>,
}
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<UpdateInvoiceShippingCostShippingRateData>
Parameters to create a new ad-hoc shipping rate for this order.
Implementations§
Trait Implementations§
Source§impl Clone for UpdateInvoiceShippingCost
impl Clone for UpdateInvoiceShippingCost
Source§fn clone(&self) -> UpdateInvoiceShippingCost
fn clone(&self) -> UpdateInvoiceShippingCost
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 UpdateInvoiceShippingCost
impl Debug for UpdateInvoiceShippingCost
Source§impl Default for UpdateInvoiceShippingCost
impl Default for UpdateInvoiceShippingCost
Auto Trait Implementations§
impl Freeze for UpdateInvoiceShippingCost
impl RefUnwindSafe for UpdateInvoiceShippingCost
impl Send for UpdateInvoiceShippingCost
impl Sync for UpdateInvoiceShippingCost
impl Unpin for UpdateInvoiceShippingCost
impl UnwindSafe for UpdateInvoiceShippingCost
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