pub struct InformationElement {
pub id: u16,
pub name: &'static str,
pub data_type: DataType,
pub semantics: Option<DataTypeSemantics>,
pub status: Status,
pub units: Option<&'static str>,
}Expand description
An IANA-registered Information Element
Fields§
§id: u16ElementID
name: &'static strName (e.g. sourceIPv4Address)
data_type: DataTypeAbstract Data Type
semantics: Option<DataTypeSemantics>Data Type Semantics, if specified
status: StatusStatus
units: Option<&'static str>Units, if specified
Trait Implementations§
Source§impl Clone for InformationElement
impl Clone for InformationElement
impl Copy for InformationElement
Source§impl Debug for InformationElement
impl Debug for InformationElement
impl Eq for InformationElement
Source§impl Hash for InformationElement
impl Hash for InformationElement
Source§impl PartialEq for InformationElement
impl PartialEq for InformationElement
impl StructuralPartialEq for InformationElement
Auto Trait Implementations§
impl Freeze for InformationElement
impl RefUnwindSafe for InformationElement
impl Send for InformationElement
impl Sync for InformationElement
impl Unpin for InformationElement
impl UnsafeUnpin for InformationElement
impl UnwindSafe for InformationElement
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