#[non_exhaustive]pub struct RootAuthentication {
pub methods: Vec<String>,
}Expand description
The system root-authentication methods. Passwords and keys are not extracted.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.methods: Vec<String>One entry per statement, e.g. "encrypted-password", "ssh-rsa", "no-public-keys".
Trait Implementations§
Source§impl Clone for RootAuthentication
impl Clone for RootAuthentication
Source§impl Debug for RootAuthentication
impl Debug for RootAuthentication
impl Eq for RootAuthentication
Source§impl PartialEq for RootAuthentication
impl PartialEq for RootAuthentication
impl StructuralPartialEq for RootAuthentication
Auto Trait Implementations§
impl Forget for RootAuthentication
impl Freeze for RootAuthentication
impl Move for RootAuthentication
impl RefUnwindSafe for RootAuthentication
impl Send for RootAuthentication
impl Sync for RootAuthentication
impl Unpin for RootAuthentication
impl UnsafeUnpin for RootAuthentication
impl UnwindSafe for RootAuthentication
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