pub struct Oid {
pub vendor: Option<u32>,
pub code: u32,
}Expand description
The Object Identifier (OID) for a RADIUS attribute, consisting of an optional vendor ID and the attribute code.
Fields§
§vendor: Option<u32>The SMI Private Enterprise Number (PEN). None for standard attributes.
code: u32The attribute type code (0-255 for standard, vendor-specific for VSAs).
Trait Implementations§
impl Eq for Oid
impl StructuralPartialEq for Oid
Auto Trait Implementations§
impl Freeze for Oid
impl RefUnwindSafe for Oid
impl Send for Oid
impl Sync for Oid
impl Unpin for Oid
impl UnwindSafe for Oid
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