Enum vqueue::cli::args::MessageCommand
pub enum MessageCommand {
Show {
format: MessageShowFormat,
},
Move {
queue: QueueID,
},
Remove {
yes: bool,
},
ReRun {},
}
Expand description
Variants§
Show
Fields
§
format: MessageShowFormat
Format of the output
Print the content of the message
Move
Move the message to the given queue
Remove
Remove the message from the filesystem
ReRun
Fields
Re-introduce the message in the delivery system
Trait Implementations§
§impl Clone for MessageCommand
impl Clone for MessageCommand
§fn clone(&self) -> MessageCommand
fn clone(&self) -> MessageCommand
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl FromArgMatches for MessageCommand
impl FromArgMatches for MessageCommand
§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
§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>
§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
.§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches
) -> Result<(), Error>
Assign values from
ArgMatches
to self
.§impl Subcommand for MessageCommand
impl Subcommand for MessageCommand
§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Test whether
Self
can parse a specific subcommand