pub struct StateRootEntry {
pub path: RepoPath,
pub node_id: NodeId,
pub kind: NodeKind,
pub mode: u32,
pub content: StateRootContent,
}Expand description
One canonical format-2 clean-state entry.
Fields§
§path: RepoPathCanonical repository path.
node_id: NodeIdNonzero stable node identity.
kind: NodeKindText, binary, or symlink node kind.
mode: u32Normalized file mode; symlinks require zero.
content: StateRootContentBlob identity or exact symlink target.
Trait Implementations§
Source§impl Clone for StateRootEntry
impl Clone for StateRootEntry
Source§fn clone(&self) -> StateRootEntry
fn clone(&self) -> StateRootEntry
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 StateRootEntry
impl Debug for StateRootEntry
impl Eq for StateRootEntry
Source§impl PartialEq for StateRootEntry
impl PartialEq for StateRootEntry
impl StructuralPartialEq for StateRootEntry
Auto Trait Implementations§
impl Freeze for StateRootEntry
impl RefUnwindSafe for StateRootEntry
impl Send for StateRootEntry
impl Sync for StateRootEntry
impl Unpin for StateRootEntry
impl UnsafeUnpin for StateRootEntry
impl UnwindSafe for StateRootEntry
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