pub struct NodeRowLite {
pub row_id: String,
pub logical_id: String,
pub kind: String,
pub properties: String,
pub content_ref: Option<String>,
pub last_accessed_at: Option<i64>,
}Expand description
Minimal node-shaped projection attached to every SearchHit.
This intentionally mirrors the fields of fathomdb_engine::NodeRow without
depending on the engine crate. The engine-side execute_compiled_search
materializes SearchHit values using its own NodeRow type, so the facade
crate converts between the two.
Fields§
§row_id: StringPhysical row ID.
logical_id: StringLogical ID of the node.
kind: StringNode kind.
properties: StringJSON-encoded node properties.
content_ref: Option<String>Optional URI referencing external content.
last_accessed_at: Option<i64>Unix timestamp of last access, if tracked.
Trait Implementations§
Source§impl Clone for NodeRowLite
impl Clone for NodeRowLite
Source§fn clone(&self) -> NodeRowLite
fn clone(&self) -> NodeRowLite
Returns a duplicate of the value. Read more
1.0.0 · 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 NodeRowLite
impl Debug for NodeRowLite
Source§impl PartialEq for NodeRowLite
impl PartialEq for NodeRowLite
impl Eq for NodeRowLite
impl StructuralPartialEq for NodeRowLite
Auto Trait Implementations§
impl Freeze for NodeRowLite
impl RefUnwindSafe for NodeRowLite
impl Send for NodeRowLite
impl Sync for NodeRowLite
impl Unpin for NodeRowLite
impl UnsafeUnpin for NodeRowLite
impl UnwindSafe for NodeRowLite
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