pub struct BranchInfo {
pub name: String,
pub parent: Option<String>,
pub fork_seq: i64,
pub head: i64,
}Expand description
Metadata describing one branch in the version-control DAG.
Fields§
§name: String§parent: Option<String>§fork_seq: i64§head: i64Implementations§
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 moreSource§impl Debug for BranchInfo
impl Debug for BranchInfo
Source§impl PartialEq for BranchInfo
impl PartialEq for BranchInfo
Source§fn eq(&self, other: &BranchInfo) -> bool
fn eq(&self, other: &BranchInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq 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