pub struct Git {
pub repo: Option<Repository>,
}Expand description
Encapsulate the git repository struct to set it as optional and add top level convenience methods for easier querying.
Fields§
§repo: Option<Repository>Implementations§
Source§impl Git
impl Git
Trait Implementations§
Auto Trait Implementations§
impl !Sync for Git
impl Freeze for Git
impl RefUnwindSafe for Git
impl Send for Git
impl Unpin for Git
impl UnsafeUnpin for Git
impl UnwindSafe for Git
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