pub struct MarkArgs {
pub name: String,
pub status: Status,
pub target: Utf8PathBuf,
pub group: Option<String>,
pub tag: Vec<String>,
pub destination: Vec<Utf8PathBuf>,
pub reason: Option<String>,
pub json: bool,
}Expand description
Move a source or a group to a status.
Fields§
§name: StringA source id or path, or a group id.
status: StatusThe status it takes.
target: Utf8PathBufThe repository of the open migration; absolute, or the working directory.
group: Option<String>File the source into this group, created where it is new.
tag: Vec<String>Tag the source with this topic. Repeatable.
destination: Vec<Utf8PathBuf>Give the group this destination. Repeatable.
reason: Option<String>Why the source is dropped; required with dropped.
json: boolPrint one JSON object instead of text.
Trait Implementations§
Source§impl Args for MarkArgs
impl Args for MarkArgs
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 MarkArgs
impl FromArgMatches for MarkArgs
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 Forget for MarkArgs
impl Freeze for MarkArgs
impl Move for MarkArgs
impl RefUnwindSafe for MarkArgs
impl Send for MarkArgs
impl Sync for MarkArgs
impl Unpin for MarkArgs
impl UnsafeUnpin for MarkArgs
impl UnwindSafe for MarkArgs
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