pub struct QueueImportArgs {
pub format: QueueImportFormat,
pub input: Option<PathBuf>,
pub dry_run: bool,
pub on_duplicate: OnDuplicate,
}Expand description
Arguments for ralph queue import.
Fields§
§format: QueueImportFormatInput format.
input: Option<PathBuf>Input file path (default: stdin). Use ‘-’ for stdin.
dry_run: boolShow what would change without writing to disk.
on_duplicate: OnDuplicateWhat to do if an imported task ID already exists.
Trait Implementations§
Source§impl Args for QueueImportArgs
impl Args for QueueImportArgs
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 QueueImportArgs
impl FromArgMatches for QueueImportArgs
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 QueueImportArgs
impl RefUnwindSafe for QueueImportArgs
impl Send for QueueImportArgs
impl Sync for QueueImportArgs
impl Unpin for QueueImportArgs
impl UnsafeUnpin for QueueImportArgs
impl UnwindSafe for QueueImportArgs
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