pub struct DisplayMeta<'a> {
pub duration: Option<f64>,
pub level: Option<f32>,
pub transcript: Option<&'a str>,
pub error: Option<&'a str>,
pub toggle_key: Option<&'a str>,
pub global_hotkey_name: Option<&'a str>,
pub approval: Option<&'a PendingApproval>,
pub approval_count: Option<usize>,
}Expand description
Optional metadata for the display renderer.
Fields§
§duration: Option<f64>§level: Option<f32>§transcript: Option<&'a str>§error: Option<&'a str>§toggle_key: Option<&'a str>§global_hotkey_name: Option<&'a str>When a global hotkey is active, this carries the hotkey name (e.g. “right_option”) so the status line shows the actual key.
approval: Option<&'a PendingApproval>§approval_count: Option<usize>Trait Implementations§
Source§impl<'a> Default for DisplayMeta<'a>
impl<'a> Default for DisplayMeta<'a>
Source§fn default() -> DisplayMeta<'a>
fn default() -> DisplayMeta<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for DisplayMeta<'a>
impl<'a> RefUnwindSafe for DisplayMeta<'a>
impl<'a> Send for DisplayMeta<'a>
impl<'a> Sync for DisplayMeta<'a>
impl<'a> Unpin for DisplayMeta<'a>
impl<'a> UnsafeUnpin for DisplayMeta<'a>
impl<'a> UnwindSafe for DisplayMeta<'a>
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