pub struct RarVolumeInfo {
pub set_name: String,
pub volume_number: u32,
}Expand description
Parsed RAR volume information: set name and volume number.
Fields§
§set_name: StringThe base name of the RAR set (e.g. “movie” from “movie.part003.rar”).
volume_number: u32Zero-based volume number. For new-style .partNNN.rar, this is NNN-1.
For old-style, .rar = 0, .r00 = 1, .r01 = 2, etc.
Trait Implementations§
Source§impl Clone for RarVolumeInfo
impl Clone for RarVolumeInfo
Source§fn clone(&self) -> RarVolumeInfo
fn clone(&self) -> RarVolumeInfo
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 RarVolumeInfo
impl Debug for RarVolumeInfo
Source§impl PartialEq for RarVolumeInfo
impl PartialEq for RarVolumeInfo
impl Eq for RarVolumeInfo
impl StructuralPartialEq for RarVolumeInfo
Auto Trait Implementations§
impl Freeze for RarVolumeInfo
impl RefUnwindSafe for RarVolumeInfo
impl Send for RarVolumeInfo
impl Sync for RarVolumeInfo
impl Unpin for RarVolumeInfo
impl UnsafeUnpin for RarVolumeInfo
impl UnwindSafe for RarVolumeInfo
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> 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.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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