#[repr(u8)]pub enum ManifestObjectKind {
Blob = 0,
Tree = 1,
}Expand description
The object types a manifest leaf may name.
Deliberately narrow: a manifest carries content membership. Owner identity (State / StateAttachment) lives in the binding, outside the shared content root, so a context-only state reuses its parent root byte-for-byte.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ManifestObjectKind
impl Clone for ManifestObjectKind
Source§fn clone(&self) -> ManifestObjectKind
fn clone(&self) -> ManifestObjectKind
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 moreimpl Copy for ManifestObjectKind
Source§impl Debug for ManifestObjectKind
impl Debug for ManifestObjectKind
Source§impl Display for ManifestObjectKind
impl Display for ManifestObjectKind
impl Eq for ManifestObjectKind
Source§impl Hash for ManifestObjectKind
impl Hash for ManifestObjectKind
Source§impl Ord for ManifestObjectKind
impl Ord for ManifestObjectKind
Source§fn cmp(&self, other: &ManifestObjectKind) -> Ordering
fn cmp(&self, other: &ManifestObjectKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ManifestObjectKind
impl PartialEq for ManifestObjectKind
Source§impl PartialOrd for ManifestObjectKind
impl PartialOrd for ManifestObjectKind
impl StructuralPartialEq for ManifestObjectKind
Auto Trait Implementations§
impl Freeze for ManifestObjectKind
impl RefUnwindSafe for ManifestObjectKind
impl Send for ManifestObjectKind
impl Sync for ManifestObjectKind
impl Unpin for ManifestObjectKind
impl UnsafeUnpin for ManifestObjectKind
impl UnwindSafe for ManifestObjectKind
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