pub struct DiscussResolveArgs {
pub discussion_id: String,
pub mode: ResolveModeArg,
pub revision: HistoricalRevisionArgs,
pub reason: Option<String>,
pub message: AuthoredMessageArgs,
pub kind: Option<String>,
pub tag: Vec<String>,
}Fields§
§discussion_id: StringDiscussion id (short or full disc- id).
mode: ResolveModeArgResolution kind: by-edit, dismiss, or into-annotation.
revision: HistoricalRevisionArgsFor by-edit: state containing the edit (defaults to HEAD).
reason: Option<String>For dismiss: non-empty reason.
message: AuthoredMessageArgsFor into-annotation: annotation content (--body or --file).
kind: Option<String>For into-annotation: constraint, invariant, or rationale (defaults to rationale).
tag: Vec<String>For into-annotation: annotation tag (can be repeated).
Trait Implementations§
Source§impl Args for DiscussResolveArgs
impl Args for DiscussResolveArgs
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 DiscussResolveArgs
impl Clone for DiscussResolveArgs
Source§impl Debug for DiscussResolveArgs
impl Debug for DiscussResolveArgs
Source§impl FromArgMatches for DiscussResolveArgs
impl FromArgMatches for DiscussResolveArgs
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 DiscussResolveArgs
impl RefUnwindSafe for DiscussResolveArgs
impl Send for DiscussResolveArgs
impl Sync for DiscussResolveArgs
impl Unpin for DiscussResolveArgs
impl UnsafeUnpin for DiscussResolveArgs
impl UnwindSafe for DiscussResolveArgs
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