pub struct UpdateIndexOptions {
pub add: bool,
pub remove: bool,
pub force_remove: bool,
pub chmod: Option<bool>,
pub info_only: bool,
pub ignore_skip_worktree_entries: bool,
}Fields§
§add: bool§remove: bool§force_remove: bool§chmod: Option<bool>§info_only: bool§ignore_skip_worktree_entries: boolTrait Implementations§
Source§impl Clone for UpdateIndexOptions
impl Clone for UpdateIndexOptions
Source§fn clone(&self) -> UpdateIndexOptions
fn clone(&self) -> UpdateIndexOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for UpdateIndexOptions
Source§impl Debug for UpdateIndexOptions
impl Debug for UpdateIndexOptions
impl Eq for UpdateIndexOptions
Source§impl PartialEq for UpdateIndexOptions
impl PartialEq for UpdateIndexOptions
Source§fn eq(&self, other: &UpdateIndexOptions) -> bool
fn eq(&self, other: &UpdateIndexOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateIndexOptions
Auto Trait Implementations§
impl Freeze for UpdateIndexOptions
impl RefUnwindSafe for UpdateIndexOptions
impl Send for UpdateIndexOptions
impl Sync for UpdateIndexOptions
impl Unpin for UpdateIndexOptions
impl UnsafeUnpin for UpdateIndexOptions
impl UnwindSafe for UpdateIndexOptions
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