Struct rustic_core::backend::ignore::LocalSourceSaveOptions
source · pub struct LocalSourceSaveOptions {
pub with_atime: bool,
pub ignore_devid: bool,
}Expand description
LocalSourceSaveOptions describes how entries from a local source will be saved in the repository.
Fields§
§with_atime: boolSave access time for files and directories
ignore_devid: boolDon’t save device ID for files and directories
Implementations§
source§impl LocalSourceSaveOptions
impl LocalSourceSaveOptions
sourcepub fn with_atime(self, value: impl Into<bool>) -> Self
pub fn with_atime(self, value: impl Into<bool>) -> Self
Sets the with_atime field of this struct.
sourcepub fn ignore_devid(self, value: impl Into<bool>) -> Self
pub fn ignore_devid(self, value: impl Into<bool>) -> Self
Sets the ignore_devid field of this struct.
Trait Implementations§
source§impl Args for LocalSourceSaveOptions
impl Args for LocalSourceSaveOptions
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 LocalSourceSaveOptions
impl Clone for LocalSourceSaveOptions
source§fn clone(&self) -> LocalSourceSaveOptions
fn clone(&self) -> LocalSourceSaveOptions
Returns a copy of the value. Read more
1.0.0 · 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 LocalSourceSaveOptions
impl Debug for LocalSourceSaveOptions
source§impl Default for LocalSourceSaveOptions
impl Default for LocalSourceSaveOptions
source§fn default() -> LocalSourceSaveOptions
fn default() -> LocalSourceSaveOptions
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LocalSourceSaveOptionswhere
LocalSourceSaveOptions: Default,
impl<'de> Deserialize<'de> for LocalSourceSaveOptionswhere
LocalSourceSaveOptions: Default,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl FromArgMatches for LocalSourceSaveOptions
impl FromArgMatches for LocalSourceSaveOptions
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.source§impl Merge for LocalSourceSaveOptions
impl Merge for LocalSourceSaveOptions
source§impl Parser for LocalSourceSaveOptions
impl Parser for LocalSourceSaveOptions
source§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Parse from iterator, exit on error.
source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Parse from iterator, return Err on error.
source§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
source§impl Serialize for LocalSourceSaveOptions
impl Serialize for LocalSourceSaveOptions
impl Copy for LocalSourceSaveOptions
Auto Trait Implementations§
impl Freeze for LocalSourceSaveOptions
impl RefUnwindSafe for LocalSourceSaveOptions
impl Send for LocalSourceSaveOptions
impl Sync for LocalSourceSaveOptions
impl Unpin for LocalSourceSaveOptions
impl UnwindSafe for LocalSourceSaveOptions
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more