Struct indradb::PropertyValueVertexQuery
source · pub struct PropertyValueVertexQuery {
pub name: Identifier,
pub value: Value,
}Expand description
Gets vertices with a property equal to a given value.
Fields§
§name: IdentifierThe name of the property.
value: ValueThe value of the property.
Implementations§
source§impl PropertyValueVertexQuery
impl PropertyValueVertexQuery
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 vertex query for getting vertices 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 PropertyValueVertexQuery
impl Clone for PropertyValueVertexQuery
source§fn clone(&self) -> PropertyValueVertexQuery
fn clone(&self) -> PropertyValueVertexQuery
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 PropertyValueVertexQuery
impl Debug for PropertyValueVertexQuery
source§impl Into<VertexQuery> for PropertyValueVertexQuery
impl Into<VertexQuery> for PropertyValueVertexQuery
source§fn into(self) -> VertexQuery
fn into(self) -> VertexQuery
Converts this type into the (usually inferred) input type.
source§impl PartialEq<PropertyValueVertexQuery> for PropertyValueVertexQuery
impl PartialEq<PropertyValueVertexQuery> for PropertyValueVertexQuery
source§fn eq(&self, other: &PropertyValueVertexQuery) -> bool
fn eq(&self, other: &PropertyValueVertexQuery) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl VertexQueryExt for PropertyValueVertexQuery
impl VertexQueryExt for PropertyValueVertexQuery
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