pub struct PortalSubscriptionCancellationReason {
pub enabled: bool,
pub options: Vec<PortalSubscriptionCancellationReasonOptions>,
}
Fields§
§enabled: bool
Whether the feature is enabled.
options: Vec<PortalSubscriptionCancellationReasonOptions>
Which cancellation reasons will be given as options to the customer.
Trait Implementations§
source§impl Clone for PortalSubscriptionCancellationReason
impl Clone for PortalSubscriptionCancellationReason
source§fn clone(&self) -> PortalSubscriptionCancellationReason
fn clone(&self) -> PortalSubscriptionCancellationReason
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 Default for PortalSubscriptionCancellationReason
impl Default for PortalSubscriptionCancellationReason
source§fn default() -> PortalSubscriptionCancellationReason
fn default() -> PortalSubscriptionCancellationReason
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PortalSubscriptionCancellationReason
impl<'de> Deserialize<'de> for PortalSubscriptionCancellationReason
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 RefUnwindSafe for PortalSubscriptionCancellationReason
impl Send for PortalSubscriptionCancellationReason
impl Sync for PortalSubscriptionCancellationReason
impl Unpin for PortalSubscriptionCancellationReason
impl UnwindSafe for PortalSubscriptionCancellationReason
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