#[non_exhaustive]pub struct WaitView {
pub key: String,
pub log_hint: Option<String>,
pub marker: bool,
}Expand description
What shows while a page waits for the key that goes on. Build it with
WaitView::new and assign the rest (ADR-0039).
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.key: StringThe name of the key that goes on.
log_hint: Option<String>How to open the log, if its action has a key.
marker: boolWhether the marker that says “press to go on” is lit: it blinks.
Implementations§
Trait Implementations§
impl Eq for WaitView
impl StructuralPartialEq for WaitView
Auto Trait Implementations§
impl Freeze for WaitView
impl RefUnwindSafe for WaitView
impl Send for WaitView
impl Sync for WaitView
impl Unpin for WaitView
impl UnsafeUnpin for WaitView
impl UnwindSafe for WaitView
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