#[non_exhaustive]pub struct Login {
pub message: Option<String>,
pub announcement: Option<String>,
pub idle_timeout: Option<String>,
pub deny_sources: Vec<String>,
pub password: Option<LoginPassword>,
pub retry_options: Option<LoginRetryOptions>,
pub classes: Vec<LoginClass>,
pub users: Vec<LoginUser>,
}Expand description
The system login configuration.
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.message: Option<String>The banner shown before login.
announcement: Option<String>The text shown after login.
idle_timeout: Option<String>Minutes.
deny_sources: Vec<String>Addresses from deny-sources { address [ ... ]; }.
password: Option<LoginPassword>§retry_options: Option<LoginRetryOptions>§classes: Vec<LoginClass>§users: Vec<LoginUser>Trait Implementations§
impl Eq for Login
impl StructuralPartialEq for Login
Auto Trait Implementations§
impl Forget for Login
impl Freeze for Login
impl Move for Login
impl RefUnwindSafe for Login
impl Send for Login
impl Sync for Login
impl Unpin for Login
impl UnsafeUnpin for Login
impl UnwindSafe for Login
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