#[repr(transparent)]pub struct AlertEnable(pub u8);
Tuple Fields§
§0: u8
Implementations§
Source§impl AlertEnable
impl AlertEnable
pub const None: AlertEnable = _
pub const Enabled: AlertEnable = _
pub const Locked: AlertEnable = _
Source§impl AlertEnable
impl AlertEnable
Trait Implementations§
Source§impl Binary for AlertEnable
impl Binary for AlertEnable
Source§impl Clone for AlertEnable
impl Clone for AlertEnable
Source§fn clone(&self) -> AlertEnable
fn clone(&self) -> AlertEnable
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 AlertEnable
impl Debug for AlertEnable
Source§impl<'de> Deserialize<'de> for AlertEnable
impl<'de> Deserialize<'de> for AlertEnable
Source§fn deserialize<D>(deserializer: D) -> Result<AlertEnable, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<AlertEnable, 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 AlertEnable
impl Display for AlertEnable
Source§impl From<AlertEnable> for u8
impl From<AlertEnable> for u8
Source§fn from(v: AlertEnable) -> u8
fn from(v: AlertEnable) -> u8
Converts to this type from the input type.
Source§impl FromStr for AlertEnable
impl FromStr for AlertEnable
Source§impl Hash for AlertEnable
impl Hash for AlertEnable
Source§impl LowerHex for AlertEnable
impl LowerHex for AlertEnable
Source§impl Octal for AlertEnable
impl Octal for AlertEnable
Source§impl Ord for AlertEnable
impl Ord for AlertEnable
Source§fn cmp(&self, other: &AlertEnable) -> Ordering
fn cmp(&self, other: &AlertEnable) -> 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 AlertEnable
impl PartialEq for AlertEnable
Source§impl PartialOrd for AlertEnable
impl PartialOrd for AlertEnable
Source§impl Serialize for AlertEnable
impl Serialize for AlertEnable
Source§impl TryFrom<i16> for AlertEnable
impl TryFrom<i16> for AlertEnable
Source§impl TryFrom<i32> for AlertEnable
impl TryFrom<i32> for AlertEnable
Source§impl TryFrom<i64> for AlertEnable
impl TryFrom<i64> for AlertEnable
Source§impl TryFrom<i8> for AlertEnable
impl TryFrom<i8> for AlertEnable
Source§impl TryFrom<u16> for AlertEnable
impl TryFrom<u16> for AlertEnable
Source§impl TryFrom<u32> for AlertEnable
impl TryFrom<u32> for AlertEnable
Source§impl TryFrom<u64> for AlertEnable
impl TryFrom<u64> for AlertEnable
Source§impl TryFrom<u8> for AlertEnable
impl TryFrom<u8> for AlertEnable
Source§impl UpperHex for AlertEnable
impl UpperHex for AlertEnable
Source§impl ValueEnum for AlertEnable
impl ValueEnum for AlertEnable
impl Copy for AlertEnable
impl Eq for AlertEnable
impl StructuralPartialEq for AlertEnable
Auto Trait Implementations§
impl Freeze for AlertEnable
impl RefUnwindSafe for AlertEnable
impl Send for AlertEnable
impl Sync for AlertEnable
impl Unpin for AlertEnable
impl UnwindSafe for AlertEnable
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