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: Identifier
The name of the property.
value: Value
The value of the property.
Implementations
sourceimpl 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
sourceimpl Clone for PropertyValueVertexQuery
impl Clone for PropertyValueVertexQuery
sourcefn clone(&self) -> PropertyValueVertexQuery
fn clone(&self) -> PropertyValueVertexQuery
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 PropertyValueVertexQuery
impl Debug for PropertyValueVertexQuery
sourceimpl Into<VertexQuery> for PropertyValueVertexQuery
impl Into<VertexQuery> for PropertyValueVertexQuery
sourcefn into(self) -> VertexQuery
fn into(self) -> VertexQuery
Converts this type into the (usually inferred) input type.
sourceimpl PartialEq<PropertyValueVertexQuery> for PropertyValueVertexQuery
impl PartialEq<PropertyValueVertexQuery> for PropertyValueVertexQuery
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &PropertyValueVertexQuery) -> bool
fn ne(&self, other: &PropertyValueVertexQuery) -> bool
This method tests for !=
.
sourceimpl VertexQueryExt for PropertyValueVertexQuery
impl VertexQueryExt for PropertyValueVertexQuery
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 PropertyValueVertexQuery
impl StructuralEq for PropertyValueVertexQuery
impl StructuralPartialEq for PropertyValueVertexQuery
Auto Trait Implementations
impl RefUnwindSafe for PropertyValueVertexQuery
impl Send for PropertyValueVertexQuery
impl Sync for PropertyValueVertexQuery
impl Unpin for PropertyValueVertexQuery
impl UnwindSafe for PropertyValueVertexQuery
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