#[repr(u8)]pub enum MainType {
NORMAL = 1,
INFO = 2,
WARNING = 4,
CRITICAL = 8,
}
Expand description
§/api/v2/log/main
[MainResponseItem::r#type
]
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MainType
impl<'de> Deserialize<'de> for MainType
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 StructuralPartialEq for MainType
Auto Trait Implementations§
impl Freeze for MainType
impl RefUnwindSafe for MainType
impl Send for MainType
impl Sync for MainType
impl Unpin for MainType
impl UnwindSafe for MainType
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