Struct sqlarfs_cli::Archive
source · pub struct Archive {
pub source: PathBuf,
pub dest: Option<PathBuf>,
pub archive: PathBuf,
pub follow: bool,
pub _no_follow: bool,
pub no_recursive: bool,
pub no_preserve: bool,
/* private fields */
}Fields§
§source: PathBufThe file or directory in the filesystem to archive.
dest: Option<PathBuf>The destination of the file in the archive.
archive: PathBufThe path of the SQLite archive.
follow: boolFollow symbolic links.
_no_follow: boolDon’t follow symbolic links (default).
no_recursive: boolDon’t copy the given directory recursively.
no_preserve: boolDon’t preserve file metadata.
Implementations§
Trait Implementations§
source§impl FromArgMatches for Archive
impl FromArgMatches for Archive
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 Archive
impl RefUnwindSafe for Archive
impl Send for Archive
impl Sync for Archive
impl Unpin for Archive
impl UnwindSafe for Archive
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