pub struct GitBranch {
pub name: String,
pub commit: String,
pub current: bool,
}Expand description
One branch entry (git.branches).
Fields§
§name: String§commit: String§current: boolTrait Implementations§
impl Eq for GitBranch
impl StructuralPartialEq for GitBranch
Auto Trait Implementations§
impl Freeze for GitBranch
impl RefUnwindSafe for GitBranch
impl Send for GitBranch
impl Sync for GitBranch
impl Unpin for GitBranch
impl UnsafeUnpin for GitBranch
impl UnwindSafe for GitBranch
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