pub struct GnuMetadata {
pub position: u64,
pub payload: Vec<u8>,
}Expand description
A GNU long-name or long-link value needed to interpret a member.
Fields§
§position: u64The absolute byte position of the GNU extension header block.
payload: Vec<u8>The meaningful metadata payload bytes, excluding tar padding.
Trait Implementations§
Source§impl Clone for GnuMetadata
impl Clone for GnuMetadata
Source§fn clone(&self) -> GnuMetadata
fn clone(&self) -> GnuMetadata
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GnuMetadata
impl Debug for GnuMetadata
impl Eq for GnuMetadata
Source§impl PartialEq for GnuMetadata
impl PartialEq for GnuMetadata
Source§fn eq(&self, other: &GnuMetadata) -> bool
fn eq(&self, other: &GnuMetadata) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GnuMetadata
Auto Trait Implementations§
impl Freeze for GnuMetadata
impl RefUnwindSafe for GnuMetadata
impl Send for GnuMetadata
impl Sync for GnuMetadata
impl Unpin for GnuMetadata
impl UnsafeUnpin for GnuMetadata
impl UnwindSafe for GnuMetadata
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