pub struct TuiArgs {
pub interval: Option<u64>,
pub transcript_poll: Option<u64>,
pub all: bool,
pub theme: Option<String>,
pub columns: Option<Vec<String>>,
}Expand description
Arguments for the TUI interface.
Fields§
§interval: Option<u64>Refresh interval in milliseconds
transcript_poll: Option<u64>Transcript poll interval in milliseconds
all: boolShow all sessions including dead ones
theme: Option<String>Color theme (default, minimal, dracula)
columns: Option<Vec<String>>Columns to display (comma or space separated)
Trait Implementations§
Source§impl Args for TuiArgs
impl Args for TuiArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl FromArgMatches for TuiArgs
impl FromArgMatches for TuiArgs
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.impl Eq for TuiArgs
impl StructuralPartialEq for TuiArgs
Auto Trait Implementations§
impl Freeze for TuiArgs
impl RefUnwindSafe for TuiArgs
impl Send for TuiArgs
impl Sync for TuiArgs
impl Unpin for TuiArgs
impl UnwindSafe for TuiArgs
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