pub struct Subscription {
pub plan: Plan,
pub status: String,
pub period_end: Option<String>,
pub cancel_at_period_end: bool,
}Fields§
§plan: Plan§status: String§period_end: Option<String>§cancel_at_period_end: boolTrait Implementations§
Source§impl Clone for Subscription
impl Clone for Subscription
Source§impl Debug for Subscription
impl Debug for Subscription
Source§impl<'de> Deserialize<'de> for Subscription
impl<'de> Deserialize<'de> for Subscription
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 Forget for Subscription
impl Freeze for Subscription
impl Move for Subscription
impl RefUnwindSafe for Subscription
impl Send for Subscriptionwhere
RawVecInner: Send,
impl Sync for Subscriptionwhere
RawVecInner: Sync,
impl Unpin for Subscription
impl UnsafeUnpin for Subscription
impl UnwindSafe for Subscriptionwhere
RawVecInner: UnwindSafe,
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