pub struct FileContext {Show 13 fields
pub file_name: String,
pub input_size: u64,
pub file_size: u64,
pub file_path: Option<String>,
pub uid: Option<u64>,
pub gid: Option<u64>,
pub mode: Option<u32>,
pub mtime: Option<u64>,
pub skip_decompression: bool,
pub skip_decryption: bool,
pub encryption_key: Option<Vec<u8>>,
pub is_dir: bool,
pub is_symlink: bool,
}Fields§
§file_name: String§input_size: u64§file_size: u64§file_path: Option<String>§uid: Option<u64>§gid: Option<u64>§mode: Option<u32>§mtime: Option<u64>§skip_decompression: bool§skip_decryption: bool§encryption_key: Option<Vec<u8>>§is_dir: bool§is_symlink: boolImplementations§
Trait Implementations§
Source§impl Clone for FileContext
impl Clone for FileContext
Source§fn clone(&self) -> FileContext
fn clone(&self) -> FileContext
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 FileContext
impl Debug for FileContext
Source§impl Default for FileContext
impl Default for FileContext
Source§fn default() -> FileContext
fn default() -> FileContext
Returns the “default value” for a type. Read more
Source§impl Ord for FileContext
impl Ord for FileContext
Source§fn cmp(&self, other: &FileContext) -> Ordering
fn cmp(&self, other: &FileContext) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for FileContext
impl PartialEq for FileContext
Source§impl PartialOrd for FileContext
impl PartialOrd for FileContext
Source§impl TryFrom<FileContext> for Header
impl TryFrom<FileContext> for Header
impl Eq for FileContext
impl StructuralPartialEq for FileContext
Auto Trait Implementations§
impl Freeze for FileContext
impl RefUnwindSafe for FileContext
impl Send for FileContext
impl Sync for FileContext
impl Unpin for FileContext
impl UnwindSafe for FileContext
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.