pub struct Checkout<'a> {
pub commit: &'a Commit,
pub entries: HashMap<String, DirEntry<'a>>,
}Expand description
Commit reference with all entries collected from the repo.
Fields§
§commit: &'a Commit§entries: HashMap<String, DirEntry<'a>>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Checkout<'a>
impl<'a> RefUnwindSafe for Checkout<'a>
impl<'a> Send for Checkout<'a>
impl<'a> Sync for Checkout<'a>
impl<'a> Unpin for Checkout<'a>
impl<'a> UnsafeUnpin for Checkout<'a>
impl<'a> UnwindSafe for Checkout<'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