pub struct RevNode {
pub hash: String,
pub status: RevStatus,
pub opts: NodeOpts,
pub children: Vec<RevNode>,
}Expand description
A single node in the revision tree.
Fields§
§hash: StringThe hash portion of the revision id.
status: RevStatusWhether this revision’s data is still stored.
opts: NodeOptsOptional metadata attached to this node (e.g., _deleted flag).
children: Vec<RevNode>Child revisions. Multiple children represent a conflict branch.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RevNode
impl RefUnwindSafe for RevNode
impl Send for RevNode
impl Sync for RevNode
impl Unpin for RevNode
impl UnwindSafe for RevNode
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