pub struct CompressionOptions {
pub level: i32,
pub threads: u32,
pub normalize_permissions: bool,
pub normalize_ownership: bool,
pub strip_xattrs: bool,
pub strip_timestamps: bool,
pub follow_symlinks: bool,
pub allow_symlink_escape: bool,
pub deterministic: bool,
pub password: Option<String>,
}Expand description
compression options for creating archives
Fields§
§level: i32§threads: u32§normalize_permissions: bool§normalize_ownership: bool§strip_xattrs: bool§strip_timestamps: bool§follow_symlinks: bool§allow_symlink_escape: bool§deterministic: bool§password: Option<String>Trait Implementations§
Source§impl Clone for CompressionOptions
impl Clone for CompressionOptions
Source§fn clone(&self) -> CompressionOptions
fn clone(&self) -> CompressionOptions
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 CompressionOptions
impl Debug for CompressionOptions
Auto Trait Implementations§
impl Freeze for CompressionOptions
impl RefUnwindSafe for CompressionOptions
impl Send for CompressionOptions
impl Sync for CompressionOptions
impl Unpin for CompressionOptions
impl UnsafeUnpin for CompressionOptions
impl UnwindSafe for CompressionOptions
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