Struct webc::v1::VolumeHeader
source · pub struct VolumeHeader<'a> {
pub top_level: Vec<FsEntry<'a>>,
pub header_data: &'a [u8],
}
Expand description
Header of a filesystem volume, describing a serialized list of directories and file paths
Fields§
§top_level: Vec<FsEntry<'a>>
Top-level files / directories already parsed
header_data: &'a [u8]
Unserialized header data as raw bytes
Implementations§
source§impl<'a> VolumeHeader<'a>
impl<'a> VolumeHeader<'a>
Trait Implementations§
source§impl<'a> Clone for VolumeHeader<'a>
impl<'a> Clone for VolumeHeader<'a>
source§fn clone(&self) -> VolumeHeader<'a>
fn clone(&self) -> VolumeHeader<'a>
Returns a copy 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<'a> Debug for VolumeHeader<'a>
impl<'a> Debug for VolumeHeader<'a>
source§impl<'a> Default for VolumeHeader<'a>
impl<'a> Default for VolumeHeader<'a>
source§fn default() -> VolumeHeader<'a>
fn default() -> VolumeHeader<'a>
Returns the “default value” for a type. Read more
source§impl<'a> PartialEq<VolumeHeader<'a>> for VolumeHeader<'a>
impl<'a> PartialEq<VolumeHeader<'a>> for VolumeHeader<'a>
source§fn eq(&self, other: &VolumeHeader<'a>) -> bool
fn eq(&self, other: &VolumeHeader<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'a> Eq for VolumeHeader<'a>
impl<'a> StructuralEq for VolumeHeader<'a>
impl<'a> StructuralPartialEq for VolumeHeader<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for VolumeHeader<'a>
impl<'a> Send for VolumeHeader<'a>
impl<'a> Sync for VolumeHeader<'a>
impl<'a> Unpin for VolumeHeader<'a>
impl<'a> UnwindSafe for VolumeHeader<'a>
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.