Struct libmedusa_zip::zip::EntryModifications
source · pub struct EntryModifications {
pub silent_external_prefix: Option<String>,
pub own_prefix: Option<String>,
}Fields§
§silent_external_prefix: Option<String>This prefixes a directory path to every entry without creating any of its parent directories.
These prefixes always come before any prefixes introduced by
Self::own_prefix.
--silent-external-prefix .deps => [.deps/a, .deps/b, ...]
own_prefix: Option<String>This prefixes a directory path to every entry, but this will create parent directory entries in the output file.
--own-prefix .deps => [.deps/, .deps/a, .deps/b, ...]
Trait Implementations§
source§impl Clone for EntryModifications
impl Clone for EntryModifications
source§fn clone(&self) -> EntryModifications
fn clone(&self) -> EntryModifications
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 Debug for EntryModifications
impl Debug for EntryModifications
source§impl Default for EntryModifications
impl Default for EntryModifications
source§fn default() -> EntryModifications
fn default() -> EntryModifications
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for EntryModifications
impl Send for EntryModifications
impl Sync for EntryModifications
impl Unpin for EntryModifications
impl UnwindSafe for EntryModifications
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