pub struct CancelSurveyResult {
pub reason: Option<String>,
pub reason_user_input: Option<String>,
}Expand description
Result of the cancel survey when the subscription was canceled by the user.
This type is not used in any activity, and only used as part of another schema.
Fields§
§reason: Option<String>The reason the user selected in the cancel survey.
reason_user_input: Option<String>Only set for CANCEL_SURVEY_REASON_OTHERS. This is the user’s freeform response to the survey.
Trait Implementations§
Source§impl Clone for CancelSurveyResult
impl Clone for CancelSurveyResult
Source§fn clone(&self) -> CancelSurveyResult
fn clone(&self) -> CancelSurveyResult
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 CancelSurveyResult
impl Debug for CancelSurveyResult
Source§impl Default for CancelSurveyResult
impl Default for CancelSurveyResult
Source§fn default() -> CancelSurveyResult
fn default() -> CancelSurveyResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CancelSurveyResult
impl<'de> Deserialize<'de> for CancelSurveyResult
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
Source§impl Serialize for CancelSurveyResult
impl Serialize for CancelSurveyResult
impl Part for CancelSurveyResult
Auto Trait Implementations§
impl Freeze for CancelSurveyResult
impl RefUnwindSafe for CancelSurveyResult
impl Send for CancelSurveyResult
impl Sync for CancelSurveyResult
impl Unpin for CancelSurveyResult
impl UnwindSafe for CancelSurveyResult
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