Struct indradb::PipeEdgeQuery
source · pub struct PipeEdgeQuery {
pub inner: Box<VertexQuery>,
pub direction: EdgeDirection,
pub limit: u32,
pub t: Option<Identifier>,
pub high: Option<DateTime<Utc>>,
pub low: Option<DateTime<Utc>>,
}Expand description
Gets the edges associated with vertices.
Generally, you shouldn’t need to construct this directly, but rather call
.outbound() or .inbound() on a vertex query.
Fields§
§inner: Box<VertexQuery>The vertex query to build off of.
direction: EdgeDirectionWhether to get outbound or inbound edges on the vertices.
limit: u32Limits the number of edges to get.
t: Option<Identifier>Filters the type of edges returned.
high: Option<DateTime<Utc>>Specifies the newest update datetime for returned edges.
low: Option<DateTime<Utc>>Specifies the oldest update datetime for returned edges.
Implementations§
source§impl PipeEdgeQuery
impl PipeEdgeQuery
sourcepub fn new(inner: Box<VertexQuery>, direction: EdgeDirection) -> Self
pub fn new(inner: Box<VertexQuery>, direction: EdgeDirection) -> Self
Creates a new pipe edge query.
Arguments
inner: The edge query to build off of.direction: Whether to get outbound or inbound edges on the vertices.limit: Limits the number of edges to get.
sourcepub fn t(self, t: Identifier) -> Self
pub fn t(self, t: Identifier) -> Self
Trait Implementations§
source§impl Clone for PipeEdgeQuery
impl Clone for PipeEdgeQuery
source§fn clone(&self) -> PipeEdgeQuery
fn clone(&self) -> PipeEdgeQuery
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 PipeEdgeQuery
impl Debug for PipeEdgeQuery
source§impl EdgeQueryExt for PipeEdgeQuery
impl EdgeQueryExt for PipeEdgeQuery
source§fn outbound(self) -> PipeVertexQuery
fn outbound(self) -> PipeVertexQuery
Gets the vertices associated with the outbound end of the edges.
source§fn inbound(self) -> PipeVertexQuery
fn inbound(self) -> PipeVertexQuery
Gets the vertices associated with the inbound end of the edges.
source§fn property<T: Into<Identifier>>(self, name: T) -> EdgePropertyQuery
fn property<T: Into<Identifier>>(self, name: T) -> EdgePropertyQuery
Gets a property associated with the edges. Read more
source§fn with_property<T: Into<Identifier>>(
self,
name: T
) -> PipePropertyPresenceEdgeQuery
fn with_property<T: Into<Identifier>>(
self,
name: T
) -> PipePropertyPresenceEdgeQuery
Gets edges with a property. Read more
source§fn without_property<T: Into<Identifier>>(
self,
name: T
) -> PipePropertyPresenceEdgeQuery
fn without_property<T: Into<Identifier>>(
self,
name: T
) -> PipePropertyPresenceEdgeQuery
Gets edges without a property. Read more
source§fn with_property_equal_to<T: Into<Identifier>>(
self,
name: T,
value: Value
) -> PipePropertyValueEdgeQuery
fn with_property_equal_to<T: Into<Identifier>>(
self,
name: T,
value: Value
) -> PipePropertyValueEdgeQuery
Gets edges 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
) -> PipePropertyValueEdgeQuery
fn with_property_not_equal_to<T: Into<Identifier>>(
self,
name: T,
value: Value
) -> PipePropertyValueEdgeQuery
Gets edges with a property not equal to a given value. Read more
source§impl Into<EdgeQuery> for PipeEdgeQuery
impl Into<EdgeQuery> for PipeEdgeQuery
source§impl PartialEq<PipeEdgeQuery> for PipeEdgeQuery
impl PartialEq<PipeEdgeQuery> for PipeEdgeQuery
source§fn eq(&self, other: &PipeEdgeQuery) -> bool
fn eq(&self, other: &PipeEdgeQuery) -> bool
This method tests for
self and other values to be equal, and is used
by ==.