pub enum NestedSubId {
Short(NestedSubIdShort),
Long(NestedSubIdLong),
}
Expand description
Nested Information Element ID.
Variants§
Short(NestedSubIdShort)
Short Nested Information Element ID.
Long(NestedSubIdLong)
Long Nested Information Element ID.
Implementations§
Source§impl NestedSubId
impl NestedSubId
Sourcepub fn from_short(value: u8) -> Self
pub fn from_short(value: u8) -> Self
Create a short NestedSubId
from a u8
.
Sourcepub fn from_long(value: u8) -> Self
pub fn from_long(value: u8) -> Self
Create a long NestedSubId
from a u8
.
Trait Implementations§
Source§impl Clone for NestedSubId
impl Clone for NestedSubId
Source§fn clone(&self) -> NestedSubId
fn clone(&self) -> NestedSubId
Returns a duplicate 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 NestedSubId
impl Debug for NestedSubId
Source§impl From<&NestedInformationElementRepr> for NestedSubId
impl From<&NestedInformationElementRepr> for NestedSubId
Source§fn from(value: &NestedInformationElementRepr) -> Self
fn from(value: &NestedInformationElementRepr) -> Self
Converts to this type from the input type.
Source§impl PartialEq for NestedSubId
impl PartialEq for NestedSubId
impl Copy for NestedSubId
impl Eq for NestedSubId
impl StructuralPartialEq for NestedSubId
Auto Trait Implementations§
impl Freeze for NestedSubId
impl RefUnwindSafe for NestedSubId
impl Send for NestedSubId
impl Sync for NestedSubId
impl Unpin for NestedSubId
impl UnwindSafe for NestedSubId
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