pub struct UserInitiatedCancellation {
pub cancel_survey_result: Option<CancelSurveyResult>,
pub cancel_time: Option<DateTime<Utc>>,
}Expand description
Information specific to cancellations initiated by users.
This type is not used in any activity, and only used as part of another schema.
Fields§
§cancel_survey_result: Option<CancelSurveyResult>Information provided by the user when they complete the subscription cancellation flow (cancellation reason survey).
cancel_time: Option<DateTime<Utc>>The time at which the subscription was canceled by the user. The user might still have access to the subscription after this time. Use line_items.expiry_time to determine if a user still has access.
Trait Implementations§
Source§impl Clone for UserInitiatedCancellation
impl Clone for UserInitiatedCancellation
Source§fn clone(&self) -> UserInitiatedCancellation
fn clone(&self) -> UserInitiatedCancellation
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 UserInitiatedCancellation
impl Debug for UserInitiatedCancellation
Source§impl Default for UserInitiatedCancellation
impl Default for UserInitiatedCancellation
Source§fn default() -> UserInitiatedCancellation
fn default() -> UserInitiatedCancellation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UserInitiatedCancellation
impl<'de> Deserialize<'de> for UserInitiatedCancellation
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 Part for UserInitiatedCancellation
Auto Trait Implementations§
impl Freeze for UserInitiatedCancellation
impl RefUnwindSafe for UserInitiatedCancellation
impl Send for UserInitiatedCancellation
impl Sync for UserInitiatedCancellation
impl Unpin for UserInitiatedCancellation
impl UnwindSafe for UserInitiatedCancellation
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