pub struct ReplayArgs {
pub ids: Vec<String>,
pub event: Option<String>,
pub task_id: Option<String>,
pub limit: usize,
pub max_replay_attempts: u32,
pub dry_run: bool,
}Fields§
§ids: Vec<String>Replay a specific failure record ID (repeatable).
event: Option<String>Replay failures matching an event name (e.g., task_completed).
task_id: Option<String>Replay failures matching a task ID.
limit: usizeMaximum matched failures to consider for this invocation.
max_replay_attempts: u32Maximum allowed replay attempts per failure record.
dry_run: boolPreview replay candidates without enqueueing.
Trait Implementations§
Source§impl Args for ReplayArgs
impl Args for ReplayArgs
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 ReplayArgs
impl FromArgMatches for ReplayArgs
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 ReplayArgs
impl RefUnwindSafe for ReplayArgs
impl Send for ReplayArgs
impl Sync for ReplayArgs
impl Unpin for ReplayArgs
impl UnsafeUnpin for ReplayArgs
impl UnwindSafe for ReplayArgs
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