pub struct ExportOptions {
pub output: PathBuf,
pub force: bool,
}Expand description
Options for Session::export.
Fields§
§output: PathBufThe archive to write (-o), conventionally <name>.tar.zst. The
manifest is written beside it as <archive>.manifest.json.
force: boolReplace an existing archive and manifest (--force).
Trait Implementations§
Source§impl Clone for ExportOptions
impl Clone for ExportOptions
Source§impl Debug for ExportOptions
impl Debug for ExportOptions
Auto Trait Implementations§
impl Forget for ExportOptions
impl Freeze for ExportOptions
impl Move for ExportOptions
impl RefUnwindSafe for ExportOptions
impl Send for ExportOptionswhere
RawVecInner: Send,
impl Sync for ExportOptionswhere
RawVecInner: Sync,
impl Unpin for ExportOptions
impl UnsafeUnpin for ExportOptions
impl UnwindSafe for ExportOptionswhere
RawVecInner: UnwindSafe,
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