#[non_exhaustive]pub struct LoginClass {Show 14 fields
pub name: String,
pub permissions: Vec<String>,
pub idle_timeout: Option<String>,
pub allow_commands: Option<String>,
pub deny_commands: Option<String>,
pub allow_configuration: Option<String>,
pub deny_configuration: Option<String>,
pub access_start: Option<String>,
pub access_end: Option<String>,
pub allowed_days: Vec<String>,
pub allow_sources: Vec<String>,
pub deny_sources: Vec<String>,
pub allow_times: Vec<String>,
pub deny_times: Vec<String>,
}Expand description
A login class.
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.name: String§permissions: Vec<String>§idle_timeout: Option<String>Minutes.
allow_commands: Option<String>The regular expressions as written, e.g. "(show)|(ping)".
deny_commands: Option<String>§allow_configuration: Option<String>§deny_configuration: Option<String>§access_start: Option<String>hh:mm.
access_end: Option<String>§allowed_days: Vec<String>§allow_sources: Vec<String>§deny_sources: Vec<String>§allow_times: Vec<String>§deny_times: Vec<String>Trait Implementations§
Source§impl Clone for LoginClass
impl Clone for LoginClass
Source§impl Debug for LoginClass
impl Debug for LoginClass
impl Eq for LoginClass
Source§impl PartialEq for LoginClass
impl PartialEq for LoginClass
impl StructuralPartialEq for LoginClass
Auto Trait Implementations§
impl Forget for LoginClass
impl Freeze for LoginClass
impl Move for LoginClass
impl RefUnwindSafe for LoginClass
impl Send for LoginClass
impl Sync for LoginClass
impl Unpin for LoginClass
impl UnsafeUnpin for LoginClass
impl UnwindSafe for LoginClass
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