pub struct CaughtNode {
pub row: OwnedRow,
pub relationships: BTreeMap<RelId, Vec<CaughtNode>>,
}Expand description
A fully-materialized node: the row cells plus eagerly drained
relationships. The comparison unit for a fetch/push assertion, and the owned
node a Graph::add_change_sink consumer receives.
Relationships are keyed by their resolved RelId slot in a BTreeMap, so
the diff is slot-stable regardless of insertion order; the child Vec within
a relationship preserves the operator’s sort order (the order is part of
the contract — never re-sort it, 11 §3.8).
Fields§
§row: OwnedRow§relationships: BTreeMap<RelId, Vec<CaughtNode>>Trait Implementations§
Source§impl Clone for CaughtNode
impl Clone for CaughtNode
Source§fn clone(&self) -> CaughtNode
fn clone(&self) -> CaughtNode
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 CaughtNode
impl Debug for CaughtNode
Source§impl PartialEq for CaughtNode
impl PartialEq for CaughtNode
impl Eq for CaughtNode
Auto Trait Implementations§
impl Freeze for CaughtNode
impl RefUnwindSafe for CaughtNode
impl Send for CaughtNode
impl Sync for CaughtNode
impl Unpin for CaughtNode
impl UnsafeUnpin for CaughtNode
impl UnwindSafe for CaughtNode
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