Struct indradb::PipePropertyPresenceVertexQuery
source · pub struct PipePropertyPresenceVertexQuery {
pub inner: Box<VertexQuery>,
pub name: Identifier,
pub exists: bool,
}Expand description
Gets vertices with a property.
Fields§
§inner: Box<VertexQuery>The query to filter.
name: IdentifierThe name of the property.
exists: boolWhether we should look for property presence or lack thereof.
Implementations§
source§impl PipePropertyPresenceVertexQuery
impl PipePropertyPresenceVertexQuery
sourcepub fn new<T: Into<Identifier>>(
inner: Box<VertexQuery>,
name: T,
exists: bool
) -> Self
pub fn new<T: Into<Identifier>>(
inner: Box<VertexQuery>,
name: T,
exists: bool
) -> Self
Gets vertices with a property.
Arguments
inner: The query to filter.name: The name of the property.exists: Whether we should look for property presence or lack thereof.
Trait Implementations§
source§impl Clone for PipePropertyPresenceVertexQuery
impl Clone for PipePropertyPresenceVertexQuery
source§fn clone(&self) -> PipePropertyPresenceVertexQuery
fn clone(&self) -> PipePropertyPresenceVertexQuery
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 Into<VertexQuery> for PipePropertyPresenceVertexQuery
impl Into<VertexQuery> for PipePropertyPresenceVertexQuery
source§fn into(self) -> VertexQuery
fn into(self) -> VertexQuery
Converts this type into the (usually inferred) input type.
source§impl PartialEq<PipePropertyPresenceVertexQuery> for PipePropertyPresenceVertexQuery
impl PartialEq<PipePropertyPresenceVertexQuery> for PipePropertyPresenceVertexQuery
source§fn eq(&self, other: &PipePropertyPresenceVertexQuery) -> bool
fn eq(&self, other: &PipePropertyPresenceVertexQuery) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl VertexQueryExt for PipePropertyPresenceVertexQuery
impl VertexQueryExt for PipePropertyPresenceVertexQuery
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