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: Identifier
The name of the property.
value: Value
The value of the property.
equal: bool
Whether we should look for property equality or non-equality.
Implementations
sourceimpl 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
sourceimpl Clone for PipePropertyValueVertexQuery
impl Clone for PipePropertyValueVertexQuery
sourcefn clone(&self) -> PipePropertyValueVertexQuery
fn clone(&self) -> PipePropertyValueVertexQuery
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PipePropertyValueVertexQuery
impl Debug for PipePropertyValueVertexQuery
sourceimpl Into<VertexQuery> for PipePropertyValueVertexQuery
impl Into<VertexQuery> for PipePropertyValueVertexQuery
sourcefn into(self) -> VertexQuery
fn into(self) -> VertexQuery
Converts this type into the (usually inferred) input type.
sourceimpl PartialEq<PipePropertyValueVertexQuery> for PipePropertyValueVertexQuery
impl PartialEq<PipePropertyValueVertexQuery> for PipePropertyValueVertexQuery
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &PipePropertyValueVertexQuery) -> bool
fn ne(&self, other: &PipePropertyValueVertexQuery) -> bool
This method tests for !=
.
sourceimpl VertexQueryExt for PipePropertyValueVertexQuery
impl VertexQueryExt for PipePropertyValueVertexQuery
sourcefn outbound(self) -> PipeEdgeQuery
fn outbound(self) -> PipeEdgeQuery
Gets the outbound edges associated with the vertices.
sourcefn inbound(self) -> PipeEdgeQuery
fn inbound(self) -> PipeEdgeQuery
Gets the inbound edges associated with the vertices.
sourcefn 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
sourcefn 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
sourcefn 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
sourcefn 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
sourcefn 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
impl Eq for PipePropertyValueVertexQuery
impl StructuralEq for PipePropertyValueVertexQuery
impl StructuralPartialEq for PipePropertyValueVertexQuery
Auto Trait Implementations
impl RefUnwindSafe for PipePropertyValueVertexQuery
impl Send for PipePropertyValueVertexQuery
impl Sync for PipePropertyValueVertexQuery
impl Unpin for PipePropertyValueVertexQuery
impl UnwindSafe for PipePropertyValueVertexQuery
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more