pub struct SubscriptionScheduledChange {
pub action: ScheduledChangeAction,
pub effective_at: DateTime<FixedOffset>,
pub resume_at: Option<DateTime<FixedOffset>>,
}
Expand description
Change that’s scheduled to be applied to a subscription. Use the pause subscription, cancel subscription, and resume subscription operations to create scheduled changes. null
if no scheduled changes.
Fields§
§action: ScheduledChangeAction
Kind of change that’s scheduled to be applied to this subscription.
effective_at: DateTime<FixedOffset>
RFC 3339 datetime string.
resume_at: Option<DateTime<FixedOffset>>
RFC 3339 datetime string of when a paused subscription should resume. Only used for pause
scheduled changes.
Trait Implementations§
Source§impl Clone for SubscriptionScheduledChange
impl Clone for SubscriptionScheduledChange
Source§fn clone(&self) -> SubscriptionScheduledChange
fn clone(&self) -> SubscriptionScheduledChange
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 SubscriptionScheduledChange
impl Debug for SubscriptionScheduledChange
Source§impl<'de> Deserialize<'de> for SubscriptionScheduledChange
impl<'de> Deserialize<'de> for SubscriptionScheduledChange
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 SubscriptionScheduledChange
impl RefUnwindSafe for SubscriptionScheduledChange
impl Send for SubscriptionScheduledChange
impl Sync for SubscriptionScheduledChange
impl Unpin for SubscriptionScheduledChange
impl UnwindSafe for SubscriptionScheduledChange
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