Struct trustfall_core::interpreter::ResolveEdgeInfo
source · #[non_exhaustive]pub struct ResolveEdgeInfo { /* private fields */ }
Expand description
Enables adapter optimizations by showing how a query uses a particular edge.
Implementations§
source§impl ResolveEdgeInfo
impl ResolveEdgeInfo
sourcepub fn origin_vid(&self) -> Vid
pub fn origin_vid(&self) -> Vid
The unique ID of the vertex where the edge in this operation begins.
sourcepub fn destination_vid(&self) -> Vid
pub fn destination_vid(&self) -> Vid
The unique ID of the vertex to which this edge points.
sourcepub fn destination(&self) -> NeighborInfo ⓘ
pub fn destination(&self) -> NeighborInfo ⓘ
Info about the destination vertex of the edge being expanded where this value was provided.
Trait Implementations§
source§impl Clone for ResolveEdgeInfo
impl Clone for ResolveEdgeInfo
source§fn clone(&self) -> ResolveEdgeInfo
fn clone(&self) -> ResolveEdgeInfo
Returns a copy 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 ResolveEdgeInfo
impl Debug for ResolveEdgeInfo
source§impl PartialEq for ResolveEdgeInfo
impl PartialEq for ResolveEdgeInfo
source§fn eq(&self, other: &ResolveEdgeInfo) -> bool
fn eq(&self, other: &ResolveEdgeInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ResolveEdgeInfo
impl StructuralEq for ResolveEdgeInfo
impl StructuralPartialEq for ResolveEdgeInfo
Auto Trait Implementations§
impl RefUnwindSafe for ResolveEdgeInfo
impl Send for ResolveEdgeInfo
impl Sync for ResolveEdgeInfo
impl Unpin for ResolveEdgeInfo
impl UnwindSafe for ResolveEdgeInfo
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.