pub struct Plan {
pub format: &'static str,
pub tail_start: u64,
pub output: PathBuf,
pub total_size: u64,
pub keep: bool,
pub replace: Option<Replace>,
pub case_folders: Vec<PathBuf>,
pub case_beyond_ascii: bool,
pub folders: Vec<Folder>,
pub only: Option<Vec<PathBuf>>,
}Fields§
§format: &'static str§tail_start: u64§output: PathBuf§total_size: u64§keep: bool§replace: Option<Replace>Existing files are moved aside before the first entry is extracted, and what to do with each once it completes.
case_folders: Vec<PathBuf>§case_beyond_ascii: bool§folders: Vec<Folder>Folder entries with a mode or a time, saved before anything is extracted.
only: Option<Vec<PathBuf>>The selected entries, if not every one is extracted.
Auto Trait Implementations§
impl Forget for Plan
impl Freeze for Planwhere
&'static str: Freeze,
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<PathBuf>: Freeze,
PhantomData<Folder>: Freeze,
impl Move for Plan
impl RefUnwindSafe for Plan
impl Send for Plan
impl Sync for Planwhere
RawVecInner: Sync,
impl Unpin for Plan
impl UnsafeUnpin for Planwhere
&'static str: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<PathBuf>: UnsafeUnpin,
PhantomData<Folder>: UnsafeUnpin,
impl UnwindSafe for Plan
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
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