pub struct CreateCheckoutSessionSubscriptionDataBillingCycleAnchorConfig {
pub day_of_month: i64,
pub hour: Option<i64>,
pub minute: Option<i64>,
pub month: Option<i64>,
pub second: Option<i64>,
}Expand description
Configures when the subscription schedule’s billing cycle anchors to a specific day of the week or month.
Fields§
§day_of_month: i64The day of the month the anchor should be. Ranges from 1 to 31.
hour: Option<i64>The hour of the day the anchor should be. Ranges from 0 to 23.
minute: Option<i64>The minute of the hour the anchor should be. Ranges from 0 to 59.
month: Option<i64>The month to start full cycle periods. Ranges from 1 to 12.
second: Option<i64>The second of the minute the anchor should be. Ranges from 0 to 59.
Implementations§
Trait Implementations§
Source§impl Clone for CreateCheckoutSessionSubscriptionDataBillingCycleAnchorConfig
impl Clone for CreateCheckoutSessionSubscriptionDataBillingCycleAnchorConfig
Source§fn clone(&self) -> CreateCheckoutSessionSubscriptionDataBillingCycleAnchorConfig
fn clone(&self) -> CreateCheckoutSessionSubscriptionDataBillingCycleAnchorConfig
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 Copy for CreateCheckoutSessionSubscriptionDataBillingCycleAnchorConfig
impl Eq for CreateCheckoutSessionSubscriptionDataBillingCycleAnchorConfig
impl StructuralPartialEq for CreateCheckoutSessionSubscriptionDataBillingCycleAnchorConfig
Auto Trait Implementations§
impl Freeze for CreateCheckoutSessionSubscriptionDataBillingCycleAnchorConfig
impl RefUnwindSafe for CreateCheckoutSessionSubscriptionDataBillingCycleAnchorConfig
impl Send for CreateCheckoutSessionSubscriptionDataBillingCycleAnchorConfig
impl Sync for CreateCheckoutSessionSubscriptionDataBillingCycleAnchorConfig
impl Unpin for CreateCheckoutSessionSubscriptionDataBillingCycleAnchorConfig
impl UnsafeUnpin for CreateCheckoutSessionSubscriptionDataBillingCycleAnchorConfig
impl UnwindSafe for CreateCheckoutSessionSubscriptionDataBillingCycleAnchorConfig
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