pub struct PortalSubscriptionUpdateProductAdjustableQuantity {
pub enabled: bool,
pub maximum: Option<i64>,
pub minimum: i64,
}
Fields§
§enabled: bool
If true, the quantity can be adjusted to any non-negative integer.
maximum: Option<i64>
The maximum quantity that can be set for the product.
minimum: i64
The minimum quantity that can be set for the product.
Trait Implementations§
Source§impl Clone for PortalSubscriptionUpdateProductAdjustableQuantity
impl Clone for PortalSubscriptionUpdateProductAdjustableQuantity
Source§fn clone(&self) -> PortalSubscriptionUpdateProductAdjustableQuantity
fn clone(&self) -> PortalSubscriptionUpdateProductAdjustableQuantity
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 PortalSubscriptionUpdateProductAdjustableQuantity
impl FromValueOpt for PortalSubscriptionUpdateProductAdjustableQuantity
fn from_value(v: Value) -> Option<Self>
impl Copy for PortalSubscriptionUpdateProductAdjustableQuantity
Auto Trait Implementations§
impl Freeze for PortalSubscriptionUpdateProductAdjustableQuantity
impl RefUnwindSafe for PortalSubscriptionUpdateProductAdjustableQuantity
impl Send for PortalSubscriptionUpdateProductAdjustableQuantity
impl Sync for PortalSubscriptionUpdateProductAdjustableQuantity
impl Unpin for PortalSubscriptionUpdateProductAdjustableQuantity
impl UnwindSafe for PortalSubscriptionUpdateProductAdjustableQuantity
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