pub struct CancelSubscriptionResponse {
pub cancellation_scheduled: bool,
pub cancels_at: Option<String>,
pub category: String,
}Fields§
§cancellation_scheduled: boolFalse when the category held no active subscription.
cancels_at: Option<String>End of the final paid period, ISO 8601.
category: StringCategory slug, e.g. analytics or messaging.
Implementations§
Source§impl CancelSubscriptionResponse
impl CancelSubscriptionResponse
pub fn serialize<__S>(
__self: &CancelSubscriptionResponse,
__serializer: __S,
) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
Source§impl<'de> CancelSubscriptionResponse
impl<'de> CancelSubscriptionResponse
pub fn deserialize<__D>(
__deserializer: __D,
) -> Result<CancelSubscriptionResponse, __D::Error>where
__D: Deserializer<'de>,
Trait Implementations§
Source§impl Clone for CancelSubscriptionResponse
impl Clone for CancelSubscriptionResponse
Source§impl Debug for CancelSubscriptionResponse
impl Debug for CancelSubscriptionResponse
Source§impl<'de> Deserialize<'de> for CancelSubscriptionResponse
impl<'de> Deserialize<'de> for CancelSubscriptionResponse
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 CancelSubscriptionResponse
impl RefUnwindSafe for CancelSubscriptionResponse
impl Send for CancelSubscriptionResponse
impl Sync for CancelSubscriptionResponse
impl Unpin for CancelSubscriptionResponse
impl UnsafeUnpin for CancelSubscriptionResponse
impl UnwindSafe for CancelSubscriptionResponse
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