pub struct AaaConfig {
pub new_model: bool,
pub authentication: Vec<AaaMethod>,
pub authorization: Vec<AaaMethod>,
}Expand description
aaa new-model configuration.
Fields§
§new_model: bool§authentication: Vec<AaaMethod>aaa authentication … method lists.
aaa authorization … method lists.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AaaConfig
impl<'de> Deserialize<'de> for AaaConfig
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AaaConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AaaConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for AaaConfig
impl Serialize for AaaConfig
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for AaaConfig
impl RefUnwindSafe for AaaConfig
impl Send for AaaConfig
impl Sync for AaaConfig
impl Unpin for AaaConfig
impl UnsafeUnpin for AaaConfig
impl UnwindSafe for AaaConfig
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