pub struct ResumeSubscriptionResponse {
pub category: String,
pub resumed: bool,
}Fields§
§category: StringCategory slug, e.g. analytics or messaging.
resumed: boolFalse when the subscription was not scheduled to cancel.
Implementations§
Source§impl ResumeSubscriptionResponse
impl ResumeSubscriptionResponse
pub fn serialize<__S>(
__self: &ResumeSubscriptionResponse,
__serializer: __S,
) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
Source§impl<'de> ResumeSubscriptionResponse
impl<'de> ResumeSubscriptionResponse
pub fn deserialize<__D>(
__deserializer: __D,
) -> Result<ResumeSubscriptionResponse, __D::Error>where
__D: Deserializer<'de>,
Trait Implementations§
Source§impl Clone for ResumeSubscriptionResponse
impl Clone for ResumeSubscriptionResponse
Source§impl Debug for ResumeSubscriptionResponse
impl Debug for ResumeSubscriptionResponse
Source§impl<'de> Deserialize<'de> for ResumeSubscriptionResponse
impl<'de> Deserialize<'de> for ResumeSubscriptionResponse
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 ResumeSubscriptionResponse
impl RefUnwindSafe for ResumeSubscriptionResponse
impl Send for ResumeSubscriptionResponse
impl Sync for ResumeSubscriptionResponse
impl Unpin for ResumeSubscriptionResponse
impl UnsafeUnpin for ResumeSubscriptionResponse
impl UnwindSafe for ResumeSubscriptionResponse
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