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