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 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 FromValueOpt for PortalSubscriptionCancellationReason
impl FromValueOpt for PortalSubscriptionCancellationReason
fn from_value(v: Value) -> Option<Self>
Auto Trait Implementations§
impl Freeze for PortalSubscriptionCancellationReason
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