pub struct SemanticTreeEntry {
pub name: String,
pub kind: SemanticEntryKind,
pub node: ContentHash,
pub semantic_digest: ContentHash,
}Expand description
One child edge of a SemanticTreeNode.
Fields§
§name: String§kind: SemanticEntryKind§node: ContentHashStorage hash of the child node (a SemanticFileNode or
SemanticTreeNode blob), or — for SemanticEntryKind::Opaque — the
raw source blob hash.
semantic_digest: ContentHashThe child’s semantic_digest (its reformat-stable identity).
Trait Implementations§
Source§impl Clone for SemanticTreeEntry
impl Clone for SemanticTreeEntry
Source§fn clone(&self) -> SemanticTreeEntry
fn clone(&self) -> SemanticTreeEntry
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 SemanticTreeEntry
impl Debug for SemanticTreeEntry
Source§impl<'de> Deserialize<'de> for SemanticTreeEntry
impl<'de> Deserialize<'de> for SemanticTreeEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SemanticTreeEntry
Source§impl PartialEq for SemanticTreeEntry
impl PartialEq for SemanticTreeEntry
Source§impl Serialize for SemanticTreeEntry
impl Serialize for SemanticTreeEntry
impl StructuralPartialEq for SemanticTreeEntry
Auto Trait Implementations§
impl Freeze for SemanticTreeEntry
impl RefUnwindSafe for SemanticTreeEntry
impl Send for SemanticTreeEntry
impl Sync for SemanticTreeEntry
impl Unpin for SemanticTreeEntry
impl UnsafeUnpin for SemanticTreeEntry
impl UnwindSafe for SemanticTreeEntry
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