pub struct AuthorizationResponse {
pub status: ResponseStatus,
pub arguments: Vec<Argument<'static>>,
pub user_message: String,
pub admin_message: String,
}Expand description
A TACACS+ server response from an authorization session.
Fields§
§status: ResponseStatusWhether the authorization attempt succeeded.
arguments: Vec<Argument<'static>>The arguments returned from the server, if any.
user_message: StringA message that may be presented to a user connected to this client. (server_msg from RFC8907)
admin_message: StringAdministrative console message from the server. (data from RFC8907)
Trait Implementations§
Source§impl Clone for AuthorizationResponse
impl Clone for AuthorizationResponse
Source§fn clone(&self) -> AuthorizationResponse
fn clone(&self) -> AuthorizationResponse
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 AuthorizationResponse
impl Debug for AuthorizationResponse
Source§impl Hash for AuthorizationResponse
impl Hash for AuthorizationResponse
Source§impl PartialEq for AuthorizationResponse
impl PartialEq for AuthorizationResponse
impl Eq for AuthorizationResponse
impl StructuralPartialEq for AuthorizationResponse
Auto Trait Implementations§
impl Freeze for AuthorizationResponse
impl RefUnwindSafe for AuthorizationResponse
impl Send for AuthorizationResponse
impl Sync for AuthorizationResponse
impl Unpin for AuthorizationResponse
impl UnwindSafe for AuthorizationResponse
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