pub struct StartBlockOptions<'a> {
pub session_id: &'a str,
pub timestamp: &'a str,
pub command: &'a str,
pub extra_lines: Option<Vec<&'a str>>,
pub style: Option<&'a str>,
pub width: Option<usize>,
pub defer_command: bool,
}Expand description
Options for creating a start block
Fields§
§session_id: &'a str§timestamp: &'a str§command: &'a str§extra_lines: Option<Vec<&'a str>>§style: Option<&'a str>§width: Option<usize>§defer_command: boolIf true, the command line is omitted from the start block (useful when virtual commands will be shown before the actual command)
Auto Trait Implementations§
impl<'a> Freeze for StartBlockOptions<'a>
impl<'a> RefUnwindSafe for StartBlockOptions<'a>
impl<'a> Send for StartBlockOptions<'a>
impl<'a> Sync for StartBlockOptions<'a>
impl<'a> Unpin for StartBlockOptions<'a>
impl<'a> UnsafeUnpin for StartBlockOptions<'a>
impl<'a> UnwindSafe for StartBlockOptions<'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