pub enum ChargeModel {
Standard,
Graduated,
Volume,
Package,
Percentage,
GraduatedPercentage,
Dynamic,
}Expand description
Charge model types.
Variants§
Standard
Standard pricing model.
Graduated
Graduated pricing model.
Volume
Volume pricing model.
Package
Package pricing model.
Percentage
Percentage pricing model.
GraduatedPercentage
Graduated percentage pricing model.
Dynamic
Dynamic pricing model.
Trait Implementations§
Source§impl Clone for ChargeModel
impl Clone for ChargeModel
Source§fn clone(&self) -> ChargeModel
fn clone(&self) -> ChargeModel
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 ChargeModel
impl Debug for ChargeModel
Source§impl<'de> Deserialize<'de> for ChargeModel
impl<'de> Deserialize<'de> for ChargeModel
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 FromStr for ChargeModel
impl FromStr for ChargeModel
Source§impl PartialEq for ChargeModel
impl PartialEq for ChargeModel
Source§impl Serialize for ChargeModel
impl Serialize for ChargeModel
Source§impl TryFrom<&str> for ChargeModel
impl TryFrom<&str> for ChargeModel
impl Eq for ChargeModel
impl StructuralPartialEq for ChargeModel
Auto Trait Implementations§
impl Freeze for ChargeModel
impl RefUnwindSafe for ChargeModel
impl Send for ChargeModel
impl Sync for ChargeModel
impl Unpin for ChargeModel
impl UnwindSafe for ChargeModel
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§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.