#[non_exhaustive]pub enum FixedChargeModel {
Graduated,
Standard,
Volume,
Unknown(String),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Graduated
graduated
Standard
standard
Volume
volume
Unknown(String)
A value this version of the client does not know, kept as received.
Implementations§
Trait Implementations§
Source§impl Clone for FixedChargeModel
impl Clone for FixedChargeModel
Source§impl Debug for FixedChargeModel
impl Debug for FixedChargeModel
Source§impl<'de> Deserialize<'de> for FixedChargeModel
impl<'de> Deserialize<'de> for FixedChargeModel
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 Display for FixedChargeModel
impl Display for FixedChargeModel
impl Eq for FixedChargeModel
Source§impl PartialEq for FixedChargeModel
impl PartialEq for FixedChargeModel
Source§impl Serialize for FixedChargeModel
impl Serialize for FixedChargeModel
impl StructuralPartialEq for FixedChargeModel
Auto Trait Implementations§
impl Freeze for FixedChargeModel
impl RefUnwindSafe for FixedChargeModel
impl Send for FixedChargeModel
impl Sync for FixedChargeModel
impl Unpin for FixedChargeModel
impl UnsafeUnpin for FixedChargeModel
impl UnwindSafe for FixedChargeModel
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