pub enum TariffType {
AdHocPayment,
ProfileCheap,
ProfileFast,
ProfileGreen,
Regular,
}Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TariffType
impl<'de> Deserialize<'de> for TariffType
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
Auto Trait Implementations§
impl Freeze for TariffType
impl RefUnwindSafe for TariffType
impl Send for TariffType
impl Sync for TariffType
impl Unpin for TariffType
impl UnsafeUnpin for TariffType
impl UnwindSafe for TariffType
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