pub struct AuthenticationContext {
pub privilege_level: PrivilegeLevel,
pub authentication_type: AuthenticationType,
pub service: AuthenticationService,
}Expand description
Some authentication information about a request, sent or received from a server.
Fields§
§privilege_level: PrivilegeLevelThe privilege level of the request.
authentication_type: AuthenticationTypeThe method used to authenticate to the TACACS+ client.
service: AuthenticationServiceThe service used to authenticate to the TACACS+ client.
Trait Implementations§
Source§impl Clone for AuthenticationContext
impl Clone for AuthenticationContext
Source§fn clone(&self) -> AuthenticationContext
fn clone(&self) -> AuthenticationContext
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 AuthenticationContext
impl Debug for AuthenticationContext
Source§impl Hash for AuthenticationContext
impl Hash for AuthenticationContext
Source§impl PartialEq for AuthenticationContext
impl PartialEq for AuthenticationContext
impl Copy for AuthenticationContext
impl Eq for AuthenticationContext
impl StructuralPartialEq for AuthenticationContext
Auto Trait Implementations§
impl Freeze for AuthenticationContext
impl RefUnwindSafe for AuthenticationContext
impl Send for AuthenticationContext
impl Sync for AuthenticationContext
impl Unpin for AuthenticationContext
impl UnwindSafe for AuthenticationContext
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