pub enum StateRootContent {
Blob(ObjectId),
Symlink(String),
}Expand description
Content identity committed by one canonical clean-state entry.
Variants§
Blob(ObjectId)
Schema-1 Blob object identity for a text or binary file.
Symlink(String)
Exact opaque schema-1 UTF-8 symlink target.
Trait Implementations§
Source§impl Clone for StateRootContent
impl Clone for StateRootContent
Source§fn clone(&self) -> StateRootContent
fn clone(&self) -> StateRootContent
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 StateRootContent
impl Debug for StateRootContent
impl Eq for StateRootContent
Source§impl PartialEq for StateRootContent
impl PartialEq for StateRootContent
impl StructuralPartialEq for StateRootContent
Auto Trait Implementations§
impl Freeze for StateRootContent
impl RefUnwindSafe for StateRootContent
impl Send for StateRootContent
impl Sync for StateRootContent
impl Unpin for StateRootContent
impl UnsafeUnpin for StateRootContent
impl UnwindSafe for StateRootContent
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