#[non_exhaustive]pub struct Console {
pub disable: bool,
pub insecure: bool,
pub log_out_on_disconnect: bool,
pub terminal_type: Option<String>,
}Expand description
The system ports console block.
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.disable: bool§insecure: bool§log_out_on_disconnect: bool§terminal_type: Option<String>From type, e.g. vt100.
Trait Implementations§
impl Eq for Console
impl StructuralPartialEq for Console
Auto Trait Implementations§
impl Forget for Console
impl Freeze for Console
impl Move for Console
impl RefUnwindSafe for Console
impl Send for Console
impl Sync for Console
impl Unpin for Console
impl UnsafeUnpin for Console
impl UnwindSafe for Console
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