pub struct TaskSplitArgs {
pub task_id: String,
pub number: usize,
pub status: Option<TaskStatusArg>,
pub title_prefix: Option<String>,
pub distribute_plan: bool,
pub dry_run: bool,
}Fields§
§task_id: StringTask ID to split.
number: usizeNumber of child tasks to create (default: 2, minimum: 2).
status: Option<TaskStatusArg>Status for child tasks (default: draft).
title_prefix: Option<String>Prefix to add to child task titles.
distribute_plan: boolDistribute plan items across child tasks.
dry_run: boolPreview the split without modifying the queue.
Trait Implementations§
Source§impl Args for TaskSplitArgs
impl Args for TaskSplitArgs
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 FromArgMatches for TaskSplitArgs
impl FromArgMatches for TaskSplitArgs
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 TaskSplitArgs
impl RefUnwindSafe for TaskSplitArgs
impl Send for TaskSplitArgs
impl Sync for TaskSplitArgs
impl Unpin for TaskSplitArgs
impl UnsafeUnpin for TaskSplitArgs
impl UnwindSafe for TaskSplitArgs
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