pub enum RadiusAttribute {
UserName(String),
UserPassword(Vec<u8>),
NasIpAddress(Ipv4Addr),
NasPort(u32),
ServiceType(u32),
FramedProtocol(u32),
CallingStationId(String),
NasIdentifier(String),
AcctStatusType(u32),
AcctSessionId(String),
Unknown {
type_: u8,
data: Vec<u8>,
},
}Variants§
UserName(String)
UserPassword(Vec<u8>)
NasIpAddress(Ipv4Addr)
NasPort(u32)
ServiceType(u32)
FramedProtocol(u32)
CallingStationId(String)
NasIdentifier(String)
AcctStatusType(u32)
AcctSessionId(String)
Unknown
Trait Implementations§
Source§impl Clone for RadiusAttribute
impl Clone for RadiusAttribute
Source§fn clone(&self) -> RadiusAttribute
fn clone(&self) -> RadiusAttribute
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RadiusAttribute
impl RefUnwindSafe for RadiusAttribute
impl Send for RadiusAttribute
impl Sync for RadiusAttribute
impl Unpin for RadiusAttribute
impl UnsafeUnpin for RadiusAttribute
impl UnwindSafe for RadiusAttribute
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