pub struct ZipEntryInput { /* private fields */ }Expand description
Single file entry to write into a pure-Rust PKZIP archive.
Implementations§
Source§impl ZipEntryInput
impl ZipEntryInput
pub fn get_archive_path(&self) -> &String
pub fn get_mut_archive_path(&mut self) -> &mut String
pub fn set_archive_path(&mut self, val: String) -> &mut Self
pub fn get_data(&self) -> &Vec<u8> ⓘ
pub fn get_mut_data(&mut self) -> &mut Vec<u8> ⓘ
pub fn set_data(&mut self, val: Vec<u8>) -> &mut Self
pub fn get_stored(&self) -> bool
pub fn get_mut_stored(&mut self) -> &mut bool
pub fn set_stored(&mut self, val: bool) -> &mut Self
pub fn get_unix_mode(&self) -> u32
pub fn get_mut_unix_mode(&mut self) -> &mut u32
pub fn set_unix_mode(&mut self, val: u32) -> &mut Self
Trait Implementations§
Source§impl Clone for ZipEntryInput
impl Clone for ZipEntryInput
Source§impl Debug for ZipEntryInput
impl Debug for ZipEntryInput
impl Eq for ZipEntryInput
Source§impl PartialEq for ZipEntryInput
impl PartialEq for ZipEntryInput
impl StructuralPartialEq for ZipEntryInput
Auto Trait Implementations§
impl Forget for ZipEntryInput
impl Freeze for ZipEntryInput
impl Move for ZipEntryInput
impl RefUnwindSafe for ZipEntryInput
impl Send for ZipEntryInputwhere
RawVecInner: Send,
impl Sync for ZipEntryInputwhere
RawVecInner: Sync,
impl Unpin for ZipEntryInput
impl UnsafeUnpin for ZipEntryInput
impl UnwindSafe for ZipEntryInputwhere
RawVecInner: UnwindSafe,
Blanket Implementations§
impl<T> AnySend for T
impl<T> AnySendClone for T
impl<T> AnySendSync for T
impl<T> AnySendSyncClone for T
impl<T> AnySync for T
impl<T> AnySyncClone for T
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.impl<T> ErasedDestructor for Twhere
T: 'static,
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