#[non_exhaustive]pub enum CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimateMaximumUnit {
BusinessDay,
Day,
Hour,
Month,
Week,
Unknown(String),
}Expand description
A unit of time.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
BusinessDay
Day
Hour
Month
Week
Unknown(String)
An unrecognized value from Stripe. Should not be used as a request parameter.
Implementations§
Trait Implementations§
Source§impl Clone for CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimateMaximumUnit
impl Clone for CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimateMaximumUnit
Source§fn clone(
&self,
) -> CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimateMaximumUnit
fn clone( &self, ) -> CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimateMaximumUnit
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 moreSource§impl Debug for CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimateMaximumUnit
Available on non-crate feature redact-generated-debug only.
impl Debug for CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimateMaximumUnit
Available on non-crate feature
redact-generated-debug only.Source§impl Display for CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimateMaximumUnit
impl Display for CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimateMaximumUnit
impl Eq for CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimateMaximumUnit
Source§impl FromStr for CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimateMaximumUnit
impl FromStr for CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimateMaximumUnit
Source§impl PartialEq for CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimateMaximumUnit
impl PartialEq for CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimateMaximumUnit
Source§impl Serialize for CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimateMaximumUnit
impl Serialize for CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimateMaximumUnit
impl StructuralPartialEq for CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimateMaximumUnit
Auto Trait Implementations§
impl Freeze for CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimateMaximumUnit
impl RefUnwindSafe for CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimateMaximumUnit
impl Send for CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimateMaximumUnit
impl Sync for CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimateMaximumUnit
impl Unpin for CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimateMaximumUnit
impl UnsafeUnpin for CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimateMaximumUnit
impl UnwindSafe for CreateCheckoutSessionShippingOptionsShippingRateDataDeliveryEstimateMaximumUnit
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