pub struct BranchSummary { /* private fields */ }Expand description
Summary of one durable branch.
Implementations§
Source§impl BranchSummary
impl BranchSummary
Sourcepub const fn source_branch_id(&self) -> Option<BranchId>
pub const fn source_branch_id(&self) -> Option<BranchId>
Returns source branch for a fork, or None for the root branch.
Sourcepub const fn from_record_id(&self) -> RecordId
pub const fn from_record_id(&self) -> RecordId
Returns the durable source position used to create this branch.
Sourcepub const fn leaf_record_id(&self) -> RecordId
pub const fn leaf_record_id(&self) -> RecordId
Returns the current durable leaf record.
Trait Implementations§
Source§impl Clone for BranchSummary
impl Clone for BranchSummary
Source§fn clone(&self) -> BranchSummary
fn clone(&self) -> BranchSummary
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 BranchSummary
impl Debug for BranchSummary
impl Eq for BranchSummary
Source§impl PartialEq for BranchSummary
impl PartialEq for BranchSummary
impl StructuralPartialEq for BranchSummary
Auto Trait Implementations§
impl Freeze for BranchSummary
impl RefUnwindSafe for BranchSummary
impl Send for BranchSummary
impl Sync for BranchSummary
impl Unpin for BranchSummary
impl UnsafeUnpin for BranchSummary
impl UnwindSafe for BranchSummary
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