pub enum Period {
P1W,
P1M,
P2M,
P3M,
P6M,
P1Y,
}Expand description
The duration of a single cycle of an auto-renewable subscription.
Variants§
P1W
One week period
P1M
One months period
P2M
Two months period
P3M
Three months period
P6M
Six months period
P1Y
One year period
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Period
impl<'de> Deserialize<'de> for Period
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
impl Copy for Period
impl Eq for Period
impl StructuralPartialEq for Period
Auto Trait Implementations§
impl Freeze for Period
impl RefUnwindSafe for Period
impl Send for Period
impl Sync for Period
impl Unpin for Period
impl UnwindSafe for Period
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