pub struct CaseCreateArgs {
pub name: String,
pub group: Option<String>,
pub message: Option<String>,
pub summary: Option<String>,
pub reason: Option<String>,
}Fields§
§name: StringHuman-readable case name used in case.md and the directory suffix.
group: Option<String>Destination group. Defaults to the configured default group.
message: Option<String>Optional first message to add to the case.
summary: Option<String>Short summary for the first message.
reason: Option<String>Why this case is being created.
Trait Implementations§
Source§impl Args for CaseCreateArgs
impl Args for CaseCreateArgs
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 CaseCreateArgs
impl Clone for CaseCreateArgs
Source§fn clone(&self) -> CaseCreateArgs
fn clone(&self) -> CaseCreateArgs
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 CaseCreateArgs
impl Debug for CaseCreateArgs
Source§impl FromArgMatches for CaseCreateArgs
impl FromArgMatches for CaseCreateArgs
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 CaseCreateArgs
impl RefUnwindSafe for CaseCreateArgs
impl Send for CaseCreateArgs
impl Sync for CaseCreateArgs
impl Unpin for CaseCreateArgs
impl UnsafeUnpin for CaseCreateArgs
impl UnwindSafe for CaseCreateArgs
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