pub struct DiscussWaitArgs {
pub after: Option<i64>,
pub remote: Option<String>,
pub thread: Option<String>,
pub max_events: Option<usize>,
}Fields§
§after: Option<i64>Resume after this hosted event id. Defaults to the persisted watermark.
remote: Option<String>Hosted remote that owns the event cursor. Defaults to the repository default.
thread: Option<String>Restrict the subscription to this thread name.
max_events: Option<usize>Internal helper for tests: stop after this many events (including ignored ones).
Trait Implementations§
Source§impl Args for DiscussWaitArgs
impl Args for DiscussWaitArgs
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 Clone for DiscussWaitArgs
impl Clone for DiscussWaitArgs
Source§fn clone(&self) -> DiscussWaitArgs
fn clone(&self) -> DiscussWaitArgs
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DiscussWaitArgs
impl Debug for DiscussWaitArgs
Source§impl FromArgMatches for DiscussWaitArgs
impl FromArgMatches for DiscussWaitArgs
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 Freeze for DiscussWaitArgs
impl RefUnwindSafe for DiscussWaitArgs
impl Send for DiscussWaitArgs
impl Sync for DiscussWaitArgs
impl Unpin for DiscussWaitArgs
impl UnsafeUnpin for DiscussWaitArgs
impl UnwindSafe for DiscussWaitArgs
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