pub enum RefTarget {
TableRow {
table: String,
row_id: u64,
},
Node {
collection: String,
node_id: EntityId,
},
Edge {
collection: String,
edge_id: EntityId,
},
Vector {
collection: String,
vector_id: EntityId,
},
Entity {
collection: String,
entity_id: EntityId,
},
}Expand description
Reference target for metadata cross-links
Variants§
TableRow
Reference to a table row
Node
Reference to a graph node
Edge
Reference to a graph edge
Vector
Reference to a vector
Entity
Generic entity reference
Implementations§
Trait Implementations§
Source§impl From<RefTarget> for MetadataValue
impl From<RefTarget> for MetadataValue
impl StructuralPartialEq for RefTarget
Auto Trait Implementations§
impl Freeze for RefTarget
impl RefUnwindSafe for RefTarget
impl Send for RefTarget
impl Sync for RefTarget
impl Unpin for RefTarget
impl UnsafeUnpin for RefTarget
impl UnwindSafe for RefTarget
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