pub enum PressureState {
Nominal,
Fair,
Serious,
Critical,
Unrecognized(String),
}Expand description
Experimental: may change without notice.
Variants§
Nominal
nominal
Fair
fair
Serious
serious
Critical
critical
Unrecognized(String)
A value this vendored schema does not list. Chrome adds values ahead of the published protocol, so an unrecognised one is kept as it arrived rather than failing the payload it came in.
Trait Implementations§
Source§impl Clone for PressureState
impl Clone for PressureState
Source§impl Debug for PressureState
impl Debug for PressureState
Source§impl<'de> Deserialize<'de> for PressureState
impl<'de> Deserialize<'de> for PressureState
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 Eq for PressureState
Source§impl Hash for PressureState
impl Hash for PressureState
Source§impl PartialEq for PressureState
impl PartialEq for PressureState
Source§impl Serialize for PressureState
impl Serialize for PressureState
impl StructuralPartialEq for PressureState
Auto Trait Implementations§
impl Forget for PressureState
impl Freeze for PressureState
impl RefUnwindSafe for PressureState
impl Send for PressureState
impl Sync for PressureState
impl Unpin for PressureState
impl UnsafeUnpin for PressureState
impl UnwindSafe for PressureState
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