pub struct CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimate {
pub maximum: Option<CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimateMaximum>,
pub minimum: Option<CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimateMinimum>,
}Expand description
The estimated range for how long shipping will take, meant to be displayable to the customer. This will appear on CheckoutSessions.
Fields§
§maximum: Option<CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimateMaximum>The upper bound of the estimated range. If empty, represents no upper bound i.e., infinite.
minimum: Option<CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimateMinimum>The lower bound of the estimated range. If empty, represents no lower bound.
Implementations§
Trait Implementations§
Source§impl Clone for CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimate
impl Clone for CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimate
Source§fn clone(
&self,
) -> CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimate
fn clone( &self, ) -> CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Eq for CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimate
impl StructuralPartialEq for CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimate
Auto Trait Implementations§
impl Freeze for CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimate
impl RefUnwindSafe for CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimate
impl Send for CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimate
impl Sync for CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimate
impl Unpin for CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimate
impl UnsafeUnpin for CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimate
impl UnwindSafe for CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimate
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