pub struct TreeEntry {
pub key: String,
pub node: Address,
pub ifc_type: String,
}Expand description
One entry: an entity key, the node carrying its content, and its class.
ifc_type is duplicated here from the node deliberately, so listing a
version’s contents needs no node fetch. It costs a few bytes per entry and
saves a random read per entry.
Fields§
§key: StringThe entity’s stable identity in THIS version — typically GlobalId.
node: AddressAddress of the node carrying the entity’s content.
ifc_type: StringExact IFC EXPRESS PascalCase class.
Trait Implementations§
impl Eq for TreeEntry
impl StructuralPartialEq for TreeEntry
Auto Trait Implementations§
impl Freeze for TreeEntry
impl RefUnwindSafe for TreeEntry
impl Send for TreeEntry
impl Sync for TreeEntry
impl Unpin for TreeEntry
impl UnwindSafe for TreeEntry
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