Struct stripe::generated::billing::subscription::CancellationDetails
source · pub struct CancellationDetails {
pub comment: Option<String>,
pub feedback: Option<CancellationDetailsFeedback>,
pub reason: Option<CancellationDetailsReason>,
}
Fields§
§comment: Option<String>
Additional comments about why the user canceled the subscription, if the subscription was canceled explicitly by the user.
feedback: Option<CancellationDetailsFeedback>
The customer submitted reason for why they canceled, if the subscription was canceled explicitly by the user.
reason: Option<CancellationDetailsReason>
Why this subscription was canceled.
Trait Implementations§
source§impl Clone for CancellationDetails
impl Clone for CancellationDetails
source§fn clone(&self) -> CancellationDetails
fn clone(&self) -> CancellationDetails
Returns a copy 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 CancellationDetails
impl Debug for CancellationDetails
source§impl Default for CancellationDetails
impl Default for CancellationDetails
source§fn default() -> CancellationDetails
fn default() -> CancellationDetails
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CancellationDetails
impl<'de> Deserialize<'de> for CancellationDetails
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 CancellationDetails
impl RefUnwindSafe for CancellationDetails
impl Send for CancellationDetails
impl Sync for CancellationDetails
impl Unpin for CancellationDetails
impl UnwindSafe for CancellationDetails
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