pub struct ContextEdge {
pub type_id: Id,
pub to_entity_id: Id,
}Expand description
An edge in a context path (spec Section 4.5).
Represents a step in the path from the root entity to the changed entity.
Fields§
§type_id: IdThe relation type ID for this edge (e.g., BLOCKS_ID).
to_entity_id: IdThe target entity ID at this edge.
Trait Implementations§
Source§impl Clone for ContextEdge
impl Clone for ContextEdge
Source§fn clone(&self) -> ContextEdge
fn clone(&self) -> ContextEdge
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 ContextEdge
impl Debug for ContextEdge
Source§impl Hash for ContextEdge
impl Hash for ContextEdge
Source§impl PartialEq for ContextEdge
impl PartialEq for ContextEdge
impl Eq for ContextEdge
impl StructuralPartialEq for ContextEdge
Auto Trait Implementations§
impl Freeze for ContextEdge
impl RefUnwindSafe for ContextEdge
impl Send for ContextEdge
impl Sync for ContextEdge
impl Unpin for ContextEdge
impl UnwindSafe for ContextEdge
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