#[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 Loginwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
PhantomData<LoginClass>: Freeze,
PhantomData<LoginUser>: Freeze,
impl Move for Login
impl RefUnwindSafe for Login
impl Send for Loginwhere
RawVecInner: Send,
impl Sync for Loginwhere
RawVecInner: Sync,
impl Unpin for Login
impl UnsafeUnpin for Loginwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<LoginClass>: UnsafeUnpin,
PhantomData<LoginUser>: UnsafeUnpin,
impl UnwindSafe for Loginwhere
RawVecInner: UnwindSafe,
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