pub struct WaitOpts {
pub timeout: Option<u64>,
pub kinds: Option<String>,
pub follow: bool,
pub collect: f64,
pub save_dir: Option<PathBuf>,
}Fields§
§timeout: Option<u64>Seconds to wait (default: SEMORA_WAIT_TIMEOUT or 900)
kinds: Option<String>Only these kinds: comment,drawing,page_event,message
follow: boolKeep streaming events as JSON lines instead of exiting
collect: f64Seconds to keep collecting after the first event
save_dir: Option<PathBuf>Folder for downloaded screenshots (default: a temp folder)
Trait Implementations§
Source§impl Args for WaitOpts
impl Args for WaitOpts
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 WaitOpts
impl FromArgMatches for WaitOpts
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.Auto Trait Implementations§
impl Forget for WaitOpts
impl Freeze for WaitOpts
impl Move for WaitOpts
impl RefUnwindSafe for WaitOpts
impl Send for WaitOpts
impl Sync for WaitOpts
impl Unpin for WaitOpts
impl UnsafeUnpin for WaitOpts
impl UnwindSafe for WaitOpts
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