Struct indradb::PipePropertyValueEdgeQuery
source · pub struct PipePropertyValueEdgeQuery {
pub inner: Box<EdgeQuery>,
pub name: Identifier,
pub value: Value,
pub equal: bool,
}Expand description
Gets edges with a property equal to a given value.
Fields§
§inner: Box<EdgeQuery>The query to filter.
name: IdentifierThe name of the property.
value: ValueThe value of the property.
equal: boolWhether we should look for property equality or non-equality.
Implementations§
source§impl PipePropertyValueEdgeQuery
impl PipePropertyValueEdgeQuery
sourcepub fn new<T: Into<Identifier>>(
inner: Box<EdgeQuery>,
name: T,
value: Value,
equal: bool
) -> Self
pub fn new<T: Into<Identifier>>(
inner: Box<EdgeQuery>,
name: T,
value: Value,
equal: bool
) -> Self
Creates a new edge query for getting edges with a property with a given value.
Arguments
inner: The query to filter.name: The name of the property.value: The value of the property.equal: Whether we should look for property equality or non-equality.
Trait Implementations§
source§impl Clone for PipePropertyValueEdgeQuery
impl Clone for PipePropertyValueEdgeQuery
source§fn clone(&self) -> PipePropertyValueEdgeQuery
fn clone(&self) -> PipePropertyValueEdgeQuery
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 PipePropertyValueEdgeQuery
impl Debug for PipePropertyValueEdgeQuery
source§impl EdgeQueryExt for PipePropertyValueEdgeQuery
impl EdgeQueryExt for PipePropertyValueEdgeQuery
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 PipePropertyValueEdgeQuery
impl Into<EdgeQuery> for PipePropertyValueEdgeQuery
source§impl PartialEq<PipePropertyValueEdgeQuery> for PipePropertyValueEdgeQuery
impl PartialEq<PipePropertyValueEdgeQuery> for PipePropertyValueEdgeQuery
source§fn eq(&self, other: &PipePropertyValueEdgeQuery) -> bool
fn eq(&self, other: &PipePropertyValueEdgeQuery) -> bool
This method tests for
self and other values to be equal, and is used
by ==.