#[repr(u8)]pub enum BlockMode {
Noblock = 0,
Combined = 1,
Individual = 2,
}Variants§
Noblock = 0
Tariff has no usage blocks
Combined = 1
Usage is metered in combined blocks
Individual = 2
Usage is metered separately by tariff component
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BlockMode
impl<'de> Deserialize<'de> for BlockMode
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
impl Copy for BlockMode
impl Eq for BlockMode
impl StructuralPartialEq for BlockMode
Auto Trait Implementations§
impl Freeze for BlockMode
impl RefUnwindSafe for BlockMode
impl Send for BlockMode
impl Sync for BlockMode
impl Unpin for BlockMode
impl UnwindSafe for BlockMode
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