pub enum RecurringUsageType {
Licensed,
Metered,
}
Expand description
Configures how the quantity per period should be determined.
Can be either metered
or licensed
.
licensed
automatically bills the quantity
set when adding it to a subscription.
metered
aggregates the total usage based on usage records.
Defaults to licensed
.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for RecurringUsageType
impl Clone for RecurringUsageType
Source§fn clone(&self) -> RecurringUsageType
fn clone(&self) -> RecurringUsageType
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 Debug for RecurringUsageType
impl Debug for RecurringUsageType
Source§impl Deserialize for RecurringUsageType
impl Deserialize for RecurringUsageType
Source§impl Display for RecurringUsageType
impl Display for RecurringUsageType
Source§impl FromStr for RecurringUsageType
impl FromStr for RecurringUsageType
Source§impl FromValueOpt for RecurringUsageType
impl FromValueOpt for RecurringUsageType
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for RecurringUsageType
impl PartialEq for RecurringUsageType
impl Copy for RecurringUsageType
impl Eq for RecurringUsageType
impl StructuralPartialEq for RecurringUsageType
Auto Trait Implementations§
impl Freeze for RecurringUsageType
impl RefUnwindSafe for RecurringUsageType
impl Send for RecurringUsageType
impl Sync for RecurringUsageType
impl Unpin for RecurringUsageType
impl UnwindSafe for RecurringUsageType
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