pub enum PortalSubscriptionUpdateDefaultAllowedUpdates {
Price,
PromotionCode,
Quantity,
}
Expand description
The types of subscription updates that are supported for items listed in the products
attribute.
When empty, subscriptions are not updateable.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for PortalSubscriptionUpdateDefaultAllowedUpdates
impl Clone for PortalSubscriptionUpdateDefaultAllowedUpdates
Source§fn clone(&self) -> PortalSubscriptionUpdateDefaultAllowedUpdates
fn clone(&self) -> PortalSubscriptionUpdateDefaultAllowedUpdates
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 PortalSubscriptionUpdateDefaultAllowedUpdates
impl FromValueOpt for PortalSubscriptionUpdateDefaultAllowedUpdates
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for PortalSubscriptionUpdateDefaultAllowedUpdates
impl PartialEq for PortalSubscriptionUpdateDefaultAllowedUpdates
Source§fn eq(&self, other: &PortalSubscriptionUpdateDefaultAllowedUpdates) -> bool
fn eq(&self, other: &PortalSubscriptionUpdateDefaultAllowedUpdates) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for PortalSubscriptionUpdateDefaultAllowedUpdates
impl Eq for PortalSubscriptionUpdateDefaultAllowedUpdates
impl StructuralPartialEq for PortalSubscriptionUpdateDefaultAllowedUpdates
Auto Trait Implementations§
impl Freeze for PortalSubscriptionUpdateDefaultAllowedUpdates
impl RefUnwindSafe for PortalSubscriptionUpdateDefaultAllowedUpdates
impl Send for PortalSubscriptionUpdateDefaultAllowedUpdates
impl Sync for PortalSubscriptionUpdateDefaultAllowedUpdates
impl Unpin for PortalSubscriptionUpdateDefaultAllowedUpdates
impl UnwindSafe for PortalSubscriptionUpdateDefaultAllowedUpdates
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