pub struct GitCheckout<'a> { /* private fields */ }
Expand description
GitCheckout
is a local checkout of a particular revision. Calling
clone_into
with a reference will resolve the reference into a revision,
and return a anyhow::Error
if no revision for that reference was found.
Trait Implementations
sourceimpl<'a> Serialize for GitCheckout<'a>
impl<'a> Serialize for GitCheckout<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for GitCheckout<'a>
impl<'a> !Send for GitCheckout<'a>
impl<'a> !Sync for GitCheckout<'a>
impl<'a> Unpin for GitCheckout<'a>
impl<'a> UnwindSafe for GitCheckout<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more