pub struct MemorySyncVaultArgs {
pub config: PathBuf,
pub dry_run: bool,
pub enrich: bool,
}Fields§
§config: PathBuf§dry_run: bool不写入文件,仅打印将会发生的动作
enrich: bool对缺少 entities/tags/triggers 的记录进行启发式补充
Trait Implementations§
Source§impl Args for MemorySyncVaultArgs
impl Args for MemorySyncVaultArgs
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 MemorySyncVaultArgs
impl Clone for MemorySyncVaultArgs
Source§fn clone(&self) -> MemorySyncVaultArgs
fn clone(&self) -> MemorySyncVaultArgs
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MemorySyncVaultArgs
impl Debug for MemorySyncVaultArgs
Source§impl FromArgMatches for MemorySyncVaultArgs
impl FromArgMatches for MemorySyncVaultArgs
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 MemorySyncVaultArgs
impl RefUnwindSafe for MemorySyncVaultArgs
impl Send for MemorySyncVaultArgs
impl Sync for MemorySyncVaultArgs
impl Unpin for MemorySyncVaultArgs
impl UnsafeUnpin for MemorySyncVaultArgs
impl UnwindSafe for MemorySyncVaultArgs
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