pub struct ArchiveOptions {
pub no_stage: bool,
pub allow_non_completed: bool,
}Expand description
Options for the archive operation.
Fields§
§no_stage: boolWhether to skip git staging (use fs::rename instead of git mv).
allow_non_completed: boolWhether to allow archiving non-completed specs.
Trait Implementations§
Source§impl Clone for ArchiveOptions
impl Clone for ArchiveOptions
Source§fn clone(&self) -> ArchiveOptions
fn clone(&self) -> ArchiveOptions
Returns a duplicate 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 ArchiveOptions
impl Debug for ArchiveOptions
Source§impl Default for ArchiveOptions
impl Default for ArchiveOptions
Source§fn default() -> ArchiveOptions
fn default() -> ArchiveOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ArchiveOptions
impl RefUnwindSafe for ArchiveOptions
impl Send for ArchiveOptions
impl Sync for ArchiveOptions
impl Unpin for ArchiveOptions
impl UnwindSafe for ArchiveOptions
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