Struct indradb::PipeVertexQuery
source · [−]pub struct PipeVertexQuery {
pub inner: Box<EdgeQuery>,
pub direction: EdgeDirection,
pub limit: u32,
pub t: Option<Identifier>,
}
Expand description
Gets the vertices associated with edges.
Generally, you shouldn’t need to construct this directly, but rather call
.outbound()
or .inbound()
on an edge query.
Fields
inner: Box<EdgeQuery>
The edge query to build off of.
direction: EdgeDirection
Whether to get outbound or inbound vertices on the edges.
limit: u32
Limits the number of vertices to get.
t: Option<Identifier>
Filters the type of vertices returned.
Implementations
sourceimpl PipeVertexQuery
impl PipeVertexQuery
sourcepub fn new(inner: Box<EdgeQuery>, direction: EdgeDirection) -> Self
pub fn new(inner: Box<EdgeQuery>, direction: EdgeDirection) -> Self
Creates a new pipe vertex query.
Arguments
inner
: The edge query to build off of.direction
: Whether to get outbound or inbound vertices on the edges.
sourcepub fn t(self, t: Identifier) -> Self
pub fn t(self, t: Identifier) -> Self
Trait Implementations
sourceimpl Clone for PipeVertexQuery
impl Clone for PipeVertexQuery
sourcefn clone(&self) -> PipeVertexQuery
fn clone(&self) -> PipeVertexQuery
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PipeVertexQuery
impl Debug for PipeVertexQuery
sourceimpl Into<VertexQuery> for PipeVertexQuery
impl Into<VertexQuery> for PipeVertexQuery
sourcefn into(self) -> VertexQuery
fn into(self) -> VertexQuery
Converts this type into the (usually inferred) input type.
sourceimpl PartialEq<PipeVertexQuery> for PipeVertexQuery
impl PartialEq<PipeVertexQuery> for PipeVertexQuery
sourcefn eq(&self, other: &PipeVertexQuery) -> bool
fn eq(&self, other: &PipeVertexQuery) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PipeVertexQuery) -> bool
fn ne(&self, other: &PipeVertexQuery) -> bool
This method tests for !=
.
sourceimpl VertexQueryExt for PipeVertexQuery
impl VertexQueryExt for PipeVertexQuery
sourcefn outbound(self) -> PipeEdgeQuery
fn outbound(self) -> PipeEdgeQuery
Gets the outbound edges associated with the vertices.
sourcefn inbound(self) -> PipeEdgeQuery
fn inbound(self) -> PipeEdgeQuery
Gets the inbound edges associated with the vertices.
sourcefn property<T: Into<Identifier>>(self, name: T) -> VertexPropertyQuery
fn property<T: Into<Identifier>>(self, name: T) -> VertexPropertyQuery
Gets a property associated with the vertices. Read more
sourcefn with_property<T: Into<Identifier>>(
self,
name: T
) -> PipePropertyPresenceVertexQuery
fn with_property<T: Into<Identifier>>(
self,
name: T
) -> PipePropertyPresenceVertexQuery
Gets vertices with a property. Read more
sourcefn without_property<T: Into<Identifier>>(
self,
name: T
) -> PipePropertyPresenceVertexQuery
fn without_property<T: Into<Identifier>>(
self,
name: T
) -> PipePropertyPresenceVertexQuery
Gets vertices without a property. Read more
sourcefn with_property_equal_to<T: Into<Identifier>>(
self,
name: T,
value: Value
) -> PipePropertyValueVertexQuery
fn with_property_equal_to<T: Into<Identifier>>(
self,
name: T,
value: Value
) -> PipePropertyValueVertexQuery
Gets vertices with a property equal to a given value. Read more
sourcefn with_property_not_equal_to<T: Into<Identifier>>(
self,
name: T,
value: Value
) -> PipePropertyValueVertexQuery
fn with_property_not_equal_to<T: Into<Identifier>>(
self,
name: T,
value: Value
) -> PipePropertyValueVertexQuery
Gets vertices with a property not equal to a given value. Read more
impl Eq for PipeVertexQuery
impl StructuralEq for PipeVertexQuery
impl StructuralPartialEq for PipeVertexQuery
Auto Trait Implementations
impl RefUnwindSafe for PipeVertexQuery
impl Send for PipeVertexQuery
impl Sync for PipeVertexQuery
impl Unpin for PipeVertexQuery
impl UnwindSafe for PipeVertexQuery
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more