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: Oidmerge_target: Option<Oid>source_branch: Option<usize>target_branch: Option<usize>name: Stringpersistence: u8is_remote: boolis_merged: boolis_tag: boolvisual: BranchVisrange: (Option<usize>, Option<usize>)

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.