pub struct Header(/* private fields */);Expand description
Specifies which ZIP headers to place data.
The ZIP specification allows for different data in local file headers versus central directory headers. This type provides control over where data is placed.
The default value is to place data in both header locations.
For usage example, see
ZipFileBuilder::extra_field
Implementations§
Trait Implementations§
Source§impl BitAndAssign for Header
impl BitAndAssign for Header
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&= operation. Read moreSource§impl BitOrAssign for Header
impl BitOrAssign for Header
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreimpl Copy for Header
impl Eq for Header
impl StructuralPartialEq for Header
Auto Trait Implementations§
impl Freeze for Header
impl RefUnwindSafe for Header
impl Send for Header
impl Sync for Header
impl Unpin for Header
impl UnwindSafe for Header
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