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: EdgeDirection
Whether to get outbound or inbound edges on the vertices.
limit: u32
Limits 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
sourceimpl 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
sourceimpl Clone for PipeEdgeQuery
impl Clone for PipeEdgeQuery
sourcefn clone(&self) -> PipeEdgeQuery
fn clone(&self) -> PipeEdgeQuery
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 PipeEdgeQuery
impl Debug for PipeEdgeQuery
sourceimpl EdgeQueryExt for PipeEdgeQuery
impl EdgeQueryExt for PipeEdgeQuery
sourcefn outbound(self) -> PipeVertexQuery
fn outbound(self) -> PipeVertexQuery
Gets the vertices associated with the outbound end of the edges.
sourcefn inbound(self) -> PipeVertexQuery
fn inbound(self) -> PipeVertexQuery
Gets the vertices associated with the inbound end of the edges.
sourcefn 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
sourcefn 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
sourcefn 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
sourcefn 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
sourcefn 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
sourceimpl Into<EdgeQuery> for PipeEdgeQuery
impl Into<EdgeQuery> for PipeEdgeQuery
sourceimpl PartialEq<PipeEdgeQuery> for PipeEdgeQuery
impl PartialEq<PipeEdgeQuery> for PipeEdgeQuery
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &PipeEdgeQuery) -> bool
fn ne(&self, other: &PipeEdgeQuery) -> bool
This method tests for !=
.
impl Eq for PipeEdgeQuery
impl StructuralEq for PipeEdgeQuery
impl StructuralPartialEq for PipeEdgeQuery
Auto Trait Implementations
impl RefUnwindSafe for PipeEdgeQuery
impl Send for PipeEdgeQuery
impl Sync for PipeEdgeQuery
impl Unpin for PipeEdgeQuery
impl UnwindSafe for PipeEdgeQuery
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