pub struct CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimate {
pub maximum: Option<CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimateMaximum>,
pub minimum: Option<CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimateMinimum>,
}
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.
Trait Implementations§
source§impl Clone for CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimate
impl Clone for CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimate
source§fn clone(
&self
) -> CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimate
fn clone( &self ) -> CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimate
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 Default for CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimate
impl Default for CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimate
source§fn default(
) -> CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimate
fn default( ) -> CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimate
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimate
impl<'de> Deserialize<'de> for CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimate
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 CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimate
impl RefUnwindSafe for CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimate
impl Send for CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimate
impl Sync for CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimate
impl Unpin 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