pub struct InstallConfig {Show 14 fields
pub mode: u32,
pub owner: Option<String>,
pub group: Option<String>,
pub directory_mode: bool,
pub create_leading: bool,
pub compare: bool,
pub preserve_timestamps: bool,
pub strip: bool,
pub strip_program: String,
pub verbose: bool,
pub backup: Option<BackupMode>,
pub suffix: String,
pub target_directory: Option<String>,
pub no_target_directory: bool,
}Expand description
Configuration for install operations.
Fields§
§mode: u32§owner: Option<String>§group: Option<String>§directory_mode: bool§create_leading: bool§compare: bool§preserve_timestamps: bool§strip: bool§strip_program: String§verbose: bool§backup: Option<BackupMode>§suffix: String§target_directory: Option<String>§no_target_directory: boolTrait Implementations§
Source§impl Clone for InstallConfig
impl Clone for InstallConfig
Source§fn clone(&self) -> InstallConfig
fn clone(&self) -> InstallConfig
Returns a duplicate 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 InstallConfig
impl Debug for InstallConfig
Auto Trait Implementations§
impl Freeze for InstallConfig
impl RefUnwindSafe for InstallConfig
impl Send for InstallConfig
impl Sync for InstallConfig
impl Unpin for InstallConfig
impl UnsafeUnpin for InstallConfig
impl UnwindSafe for InstallConfig
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§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