pub struct ClosePlanArgs {
pub issue: Option<u64>,
pub body_file: Option<PathBuf>,
pub approved_comment_url: String,
pub reason: CloseReason,
pub close_comment: CommentTextArgs,
pub allow_not_done: bool,
}Fields§
§issue: Option<u64>Plan issue number (--issue-only path is live plan-issue only).
body_file: Option<PathBuf>Local issue body path (dry-run mode).
approved_comment_url: StringFinal approval comment URL.
reason: CloseReasonClose reason.
close_comment: CommentTextArgs§allow_not_done: boolAllow closing when some tasks are not done.
Trait Implementations§
Source§impl Args for ClosePlanArgs
impl Args for ClosePlanArgs
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 ClosePlanArgs
impl Clone for ClosePlanArgs
Source§fn clone(&self) -> ClosePlanArgs
fn clone(&self) -> ClosePlanArgs
Returns a duplicate 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 moreSource§impl Debug for ClosePlanArgs
impl Debug for ClosePlanArgs
Source§impl FromArgMatches for ClosePlanArgs
impl FromArgMatches for ClosePlanArgs
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 ClosePlanArgs
impl RefUnwindSafe for ClosePlanArgs
impl Send for ClosePlanArgs
impl Sync for ClosePlanArgs
impl Unpin for ClosePlanArgs
impl UnsafeUnpin for ClosePlanArgs
impl UnwindSafe for ClosePlanArgs
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