pub struct BranchInfo {
pub name: String,
pub ahead: usize,
pub behind: usize,
pub last_commit: String,
}Expand description
Summary of a feature branch for the devflow list command.
Fields§
§name: StringBranch name (e.g. “feature/phase-05”).
ahead: usizeNumber of commits this branch has that develop doesn’t.
behind: usizeNumber of commits develop has that this branch doesn’t.
last_commit: StringISO-8601 date of the last commit on this branch.
Trait Implementations§
Source§impl Clone for BranchInfo
impl Clone for BranchInfo
Source§fn clone(&self) -> BranchInfo
fn clone(&self) -> BranchInfo
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 moreAuto Trait Implementations§
impl Freeze for BranchInfo
impl RefUnwindSafe for BranchInfo
impl Send for BranchInfo
impl Sync for BranchInfo
impl Unpin for BranchInfo
impl UnsafeUnpin for BranchInfo
impl UnwindSafe for BranchInfo
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