pub struct FileHeader {
pub filename: String,
pub uncompressed_size: u64,
pub compressed_size: u64,
pub compression_method: u8,
pub data_start_position: u64,
pub data_size: u64,
pub is_directory: bool,
pub is_encrypted: bool,
pub is_solid: bool,
pub volume_number: Option<i32>,
pub encryption: Option<RarEncryption>,
}Fields§
§filename: String§uncompressed_size: u64§compressed_size: u64§compression_method: u8§data_start_position: u64Offset in the stream where file data begins.
data_size: u64Size of the data region (= compressed_size for m0/store).
is_directory: bool§is_encrypted: bool§is_solid: bool§volume_number: Option<i32>§encryption: Option<RarEncryption>Trait Implementations§
Source§impl Clone for FileHeader
impl Clone for FileHeader
Source§fn clone(&self) -> FileHeader
fn clone(&self) -> FileHeader
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 moreAuto Trait Implementations§
impl Freeze for FileHeader
impl RefUnwindSafe for FileHeader
impl Send for FileHeader
impl Sync for FileHeader
impl Unpin for FileHeader
impl UnsafeUnpin for FileHeader
impl UnwindSafe for FileHeader
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