pub struct BranchInfo {
pub name: String,
pub is_head: bool,
pub tip_unix: i64,
pub divergence: Option<(usize, usize)>,
}Fields§
§name: String§is_head: bool§tip_unix: i64§divergence: Option<(usize, usize)>(ahead, behind) against the upstream. Resolving one costs a graph
walk, so listings leave it None and callers ask
Vcs::divergence for the branches they show.
Trait Implementations§
Source§impl Clone for BranchInfo
impl Clone for BranchInfo
Source§impl Debug for BranchInfo
impl Debug for BranchInfo
impl Eq for BranchInfo
Source§impl PartialEq for BranchInfo
impl PartialEq for BranchInfo
impl StructuralPartialEq for BranchInfo
Auto 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