Struct rar::Archive [−][src]
pub struct Archive { pub version: SignatureBlock, pub details: ArchiveBlock, pub files: Vec<FileBlock>, pub quick_open: Option<FileBlock>, pub end: EndBlock, }
The rar archive representation
Fields
version: SignatureBlock
details: ArchiveBlock
files: Vec<FileBlock>
quick_open: Option<FileBlock>
end: EndBlock
Methods
impl Archive
[src]
impl Archive
pub fn extract_all(
file_name: &str,
path: &str,
password: &str
) -> Result<Archive, Error>
[src]
pub fn extract_all(
file_name: &str,
path: &str,
password: &str
) -> Result<Archive, Error>
This function extracts the .rar archive and returns the parsed structure as additional information
Trait Implementations
impl PartialEq for Archive
[src]
impl PartialEq for Archive
fn eq(&self, other: &Archive) -> bool
[src]
fn eq(&self, other: &Archive) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Archive) -> bool
[src]
fn ne(&self, other: &Archive) -> bool
This method tests for !=
.
impl Debug for Archive
[src]
impl Debug for Archive