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: EdgeDirectionWhether to get outbound or inbound vertices on the edges.
limit: u32Limits the number of vertices to get.
t: Option<Identifier>Filters the type of vertices returned.
Implementations§
source§impl 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§
source§impl Clone for PipeVertexQuery
impl Clone for PipeVertexQuery
source§fn clone(&self) -> PipeVertexQuery
fn clone(&self) -> PipeVertexQuery
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 PipeVertexQuery
impl Debug for PipeVertexQuery
source§impl Into<VertexQuery> for PipeVertexQuery
impl Into<VertexQuery> for PipeVertexQuery
source§fn into(self) -> VertexQuery
fn into(self) -> VertexQuery
Converts this type into the (usually inferred) input type.
source§impl PartialEq<PipeVertexQuery> for PipeVertexQuery
impl PartialEq<PipeVertexQuery> for PipeVertexQuery
source§fn 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 ==.source§impl VertexQueryExt for PipeVertexQuery
impl VertexQueryExt for PipeVertexQuery
source§fn outbound(self) -> PipeEdgeQuery
fn outbound(self) -> PipeEdgeQuery
Gets the outbound edges associated with the vertices.
source§fn inbound(self) -> PipeEdgeQuery
fn inbound(self) -> PipeEdgeQuery
Gets the inbound edges associated with the vertices.
source§fn 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
source§fn 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
source§fn 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
source§fn 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
source§fn 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