Enum stripe::generated::billing::billing_portal_configuration::PortalSubscriptionCancelProrationBehavior
source · pub enum PortalSubscriptionCancelProrationBehavior {
AlwaysInvoice,
CreateProrations,
None,
}
Expand description
An enum representing the possible values of an PortalSubscriptionCancel
’s proration_behavior
field.
Variants§
Implementations§
Trait Implementations§
source§impl Clone for PortalSubscriptionCancelProrationBehavior
impl Clone for PortalSubscriptionCancelProrationBehavior
source§fn clone(&self) -> PortalSubscriptionCancelProrationBehavior
fn clone(&self) -> PortalSubscriptionCancelProrationBehavior
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<'de> Deserialize<'de> for PortalSubscriptionCancelProrationBehavior
impl<'de> Deserialize<'de> for PortalSubscriptionCancelProrationBehavior
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 PartialEq for PortalSubscriptionCancelProrationBehavior
impl PartialEq for PortalSubscriptionCancelProrationBehavior
source§fn eq(&self, other: &PortalSubscriptionCancelProrationBehavior) -> bool
fn eq(&self, other: &PortalSubscriptionCancelProrationBehavior) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for PortalSubscriptionCancelProrationBehavior
impl Eq for PortalSubscriptionCancelProrationBehavior
impl StructuralPartialEq for PortalSubscriptionCancelProrationBehavior
Auto Trait Implementations§
impl Freeze for PortalSubscriptionCancelProrationBehavior
impl RefUnwindSafe for PortalSubscriptionCancelProrationBehavior
impl Send for PortalSubscriptionCancelProrationBehavior
impl Sync for PortalSubscriptionCancelProrationBehavior
impl Unpin for PortalSubscriptionCancelProrationBehavior
impl UnwindSafe for PortalSubscriptionCancelProrationBehavior
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.