pub struct CancellationContext {
pub cancellation_type: Option<String>,
}Expand description
Cancellation context of the purchases.subscriptionsv2.cancel API.
This type is not used in any activity, and only used as part of another schema.
Fields§
§cancellation_type: Option<String>Required. The type of cancellation for the purchased subscription.
Trait Implementations§
Source§impl Clone for CancellationContext
impl Clone for CancellationContext
Source§fn clone(&self) -> CancellationContext
fn clone(&self) -> CancellationContext
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 CancellationContext
impl Debug for CancellationContext
Source§impl Default for CancellationContext
impl Default for CancellationContext
Source§fn default() -> CancellationContext
fn default() -> CancellationContext
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CancellationContext
impl<'de> Deserialize<'de> for CancellationContext
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 CancellationContext
impl Serialize for CancellationContext
impl Part for CancellationContext
Auto Trait Implementations§
impl Freeze for CancellationContext
impl RefUnwindSafe for CancellationContext
impl Send for CancellationContext
impl Sync for CancellationContext
impl Unpin for CancellationContext
impl UnwindSafe for CancellationContext
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