pub struct ArchiveMessageCreateArgs {
pub name: String,
pub message: Option<String>,
pub summary: Option<String>,
pub reason: Option<String>,
}Fields§
§name: StringHuman-readable archive category name used in metadata and the directory suffix.
message: Option<String>Optional message to immediately file into the new archive category.
summary: Option<String>Required when –message is supplied.
reason: Option<String>Why this archive category is being created.
Trait Implementations§
Source§impl Args for ArchiveMessageCreateArgs
impl Args for ArchiveMessageCreateArgs
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 ArchiveMessageCreateArgs
impl Clone for ArchiveMessageCreateArgs
Source§fn clone(&self) -> ArchiveMessageCreateArgs
fn clone(&self) -> ArchiveMessageCreateArgs
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 ArchiveMessageCreateArgs
impl Debug for ArchiveMessageCreateArgs
Source§impl FromArgMatches for ArchiveMessageCreateArgs
impl FromArgMatches for ArchiveMessageCreateArgs
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 ArchiveMessageCreateArgs
impl RefUnwindSafe for ArchiveMessageCreateArgs
impl Send for ArchiveMessageCreateArgs
impl Sync for ArchiveMessageCreateArgs
impl Unpin for ArchiveMessageCreateArgs
impl UnsafeUnpin for ArchiveMessageCreateArgs
impl UnwindSafe for ArchiveMessageCreateArgs
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