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