#[repr(transparent)]pub struct AlertClass(pub u8);
Tuple Fields§
§0: u8
Implementations§
Source§impl AlertClass
impl AlertClass
pub const A: AlertClass = _
pub const B: AlertClass = _
pub const C: AlertClass = _
pub const D: AlertClass = _
pub const X: AlertClass = _
Source§impl AlertClass
impl AlertClass
Trait Implementations§
Source§impl Binary for AlertClass
impl Binary for AlertClass
Source§impl Clone for AlertClass
impl Clone for AlertClass
Source§fn clone(&self) -> AlertClass
fn clone(&self) -> AlertClass
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AlertClass
impl Debug for AlertClass
Source§impl<'de> Deserialize<'de> for AlertClass
impl<'de> Deserialize<'de> for AlertClass
Source§fn deserialize<D>(deserializer: D) -> Result<AlertClass, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<AlertClass, D::Error>where
D: Deserializer<'de>,
Deserializes the value by forwarding to deserialize_any
.
deserialize_any
will forward strings to the string visitor
and forward integers to the appropriate integer visitor.
Source§impl Display for AlertClass
impl Display for AlertClass
Source§impl From<AlertClass> for u8
impl From<AlertClass> for u8
Source§fn from(v: AlertClass) -> u8
fn from(v: AlertClass) -> u8
Converts to this type from the input type.
Source§impl FromStr for AlertClass
impl FromStr for AlertClass
Source§impl Hash for AlertClass
impl Hash for AlertClass
Source§impl LowerHex for AlertClass
impl LowerHex for AlertClass
Source§impl Octal for AlertClass
impl Octal for AlertClass
Source§impl Ord for AlertClass
impl Ord for AlertClass
Source§fn cmp(&self, other: &AlertClass) -> Ordering
fn cmp(&self, other: &AlertClass) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AlertClass
impl PartialEq for AlertClass
Source§impl PartialOrd for AlertClass
impl PartialOrd for AlertClass
Source§impl Serialize for AlertClass
impl Serialize for AlertClass
Source§impl TryFrom<i16> for AlertClass
impl TryFrom<i16> for AlertClass
Source§impl TryFrom<i32> for AlertClass
impl TryFrom<i32> for AlertClass
Source§impl TryFrom<i64> for AlertClass
impl TryFrom<i64> for AlertClass
Source§impl TryFrom<i8> for AlertClass
impl TryFrom<i8> for AlertClass
Source§impl TryFrom<u16> for AlertClass
impl TryFrom<u16> for AlertClass
Source§impl TryFrom<u32> for AlertClass
impl TryFrom<u32> for AlertClass
Source§impl TryFrom<u64> for AlertClass
impl TryFrom<u64> for AlertClass
Source§impl TryFrom<u8> for AlertClass
impl TryFrom<u8> for AlertClass
Source§impl UpperHex for AlertClass
impl UpperHex for AlertClass
Source§impl ValueEnum for AlertClass
impl ValueEnum for AlertClass
impl Copy for AlertClass
impl Eq for AlertClass
impl StructuralPartialEq for AlertClass
Auto Trait Implementations§
impl Freeze for AlertClass
impl RefUnwindSafe for AlertClass
impl Send for AlertClass
impl Sync for AlertClass
impl Unpin for AlertClass
impl UnwindSafe for AlertClass
Blanket Implementations§
§impl<T> Annotate for T
impl<T> Annotate for T
default fn format( &self, _variant: Option<&str>, _field: &MemberId<'_>, ) -> Option<Format>
default fn comment( &self, _variant: Option<&str>, _field: &MemberId<'_>, ) -> Option<String>
default fn as_annotate(&self) -> Option<&dyn Annotate>
default fn thunk_serialize( &self, serializer: &mut AnnotatedSerializer<'_>, ) -> Result<Document, Error>
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