pub struct CheckoutIndexPathOptions<'a> {
pub force: bool,
pub merge: bool,
pub stage: Option<CheckoutStage>,
pub conflict_style: CheckoutConflictStyle,
pub smudge_config: Option<&'a GitConfig>,
}Fields§
§force: bool§merge: bool§stage: Option<CheckoutStage>§conflict_style: CheckoutConflictStyle§smudge_config: Option<&'a GitConfig>Trait Implementations§
Source§impl<'a> Clone for CheckoutIndexPathOptions<'a>
impl<'a> Clone for CheckoutIndexPathOptions<'a>
Source§fn clone(&self) -> CheckoutIndexPathOptions<'a>
fn clone(&self) -> CheckoutIndexPathOptions<'a>
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<'a> Copy for CheckoutIndexPathOptions<'a>
Auto Trait Implementations§
impl<'a> Freeze for CheckoutIndexPathOptions<'a>
impl<'a> RefUnwindSafe for CheckoutIndexPathOptions<'a>
impl<'a> Send for CheckoutIndexPathOptions<'a>
impl<'a> Sync for CheckoutIndexPathOptions<'a>
impl<'a> Unpin for CheckoutIndexPathOptions<'a>
impl<'a> UnsafeUnpin for CheckoutIndexPathOptions<'a>
impl<'a> UnwindSafe for CheckoutIndexPathOptions<'a>
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