Struct git_graph::graph::BranchInfo
source · pub struct BranchInfo {
pub target: Oid,
pub merge_target: Option<Oid>,
pub source_branch: Option<usize>,
pub target_branch: Option<usize>,
pub name: String,
pub persistence: u8,
pub is_remote: bool,
pub is_merged: bool,
pub is_tag: bool,
pub visual: BranchVis,
pub range: (Option<usize>, Option<usize>),
}
Expand description
Represents a branch (real or derived from merge summary).
Fields
target: Oid
merge_target: Option<Oid>
source_branch: Option<usize>
target_branch: Option<usize>
name: String
persistence: u8
is_remote: bool
is_merged: bool
is_tag: bool
visual: BranchVis
range: (Option<usize>, Option<usize>)
Auto Trait Implementations
impl RefUnwindSafe for BranchInfo
impl Send for BranchInfo
impl Sync for BranchInfo
impl Unpin for BranchInfo
impl UnwindSafe for BranchInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more