#[repr(transparent)]pub struct TlvTag(pub u32);
Tuple Fields§
§0: u32
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TlvTag
impl<'de> Deserialize<'de> for TlvTag
Source§fn deserialize<D>(deserializer: D) -> Result<TlvTag, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<TlvTag, 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 Ord for TlvTag
impl Ord for TlvTag
Source§impl PartialOrd for TlvTag
impl PartialOrd for TlvTag
impl Copy for TlvTag
impl Eq for TlvTag
impl StructuralPartialEq for TlvTag
Auto Trait Implementations§
impl Freeze for TlvTag
impl RefUnwindSafe for TlvTag
impl Send for TlvTag
impl Sync for TlvTag
impl Unpin for TlvTag
impl UnwindSafe for TlvTag
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