Struct indradb::PropertyValueEdgeQuery
source · [−]pub struct PropertyValueEdgeQuery {
pub name: Identifier,
pub value: Value,
}
Expand description
Gets edges 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 PropertyValueEdgeQuery
impl PropertyValueEdgeQuery
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 edge query for getting edges 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 PropertyValueEdgeQuery
impl Clone for PropertyValueEdgeQuery
sourcefn clone(&self) -> PropertyValueEdgeQuery
fn clone(&self) -> PropertyValueEdgeQuery
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 PropertyValueEdgeQuery
impl Debug for PropertyValueEdgeQuery
sourceimpl EdgeQueryExt for PropertyValueEdgeQuery
impl EdgeQueryExt for PropertyValueEdgeQuery
sourcefn outbound(self) -> PipeVertexQuery
fn outbound(self) -> PipeVertexQuery
Gets the vertices associated with the outbound end of the edges.
sourcefn inbound(self) -> PipeVertexQuery
fn inbound(self) -> PipeVertexQuery
Gets the vertices associated with the inbound end of the edges.
sourcefn property<T: Into<Identifier>>(self, name: T) -> EdgePropertyQuery
fn property<T: Into<Identifier>>(self, name: T) -> EdgePropertyQuery
Gets a property associated with the edges. Read more
sourcefn with_property<T: Into<Identifier>>(
self,
name: T
) -> PipePropertyPresenceEdgeQuery
fn with_property<T: Into<Identifier>>(
self,
name: T
) -> PipePropertyPresenceEdgeQuery
Gets edges with a property. Read more
sourcefn without_property<T: Into<Identifier>>(
self,
name: T
) -> PipePropertyPresenceEdgeQuery
fn without_property<T: Into<Identifier>>(
self,
name: T
) -> PipePropertyPresenceEdgeQuery
Gets edges without a property. Read more
sourcefn with_property_equal_to<T: Into<Identifier>>(
self,
name: T,
value: Value
) -> PipePropertyValueEdgeQuery
fn with_property_equal_to<T: Into<Identifier>>(
self,
name: T,
value: Value
) -> PipePropertyValueEdgeQuery
Gets edges with a property equal to a given value. Read more
sourcefn with_property_not_equal_to<T: Into<Identifier>>(
self,
name: T,
value: Value
) -> PipePropertyValueEdgeQuery
fn with_property_not_equal_to<T: Into<Identifier>>(
self,
name: T,
value: Value
) -> PipePropertyValueEdgeQuery
Gets edges with a property not equal to a given value. Read more
sourceimpl Into<EdgeQuery> for PropertyValueEdgeQuery
impl Into<EdgeQuery> for PropertyValueEdgeQuery
sourceimpl PartialEq<PropertyValueEdgeQuery> for PropertyValueEdgeQuery
impl PartialEq<PropertyValueEdgeQuery> for PropertyValueEdgeQuery
sourcefn eq(&self, other: &PropertyValueEdgeQuery) -> bool
fn eq(&self, other: &PropertyValueEdgeQuery) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PropertyValueEdgeQuery) -> bool
fn ne(&self, other: &PropertyValueEdgeQuery) -> bool
This method tests for !=
.
impl Eq for PropertyValueEdgeQuery
impl StructuralEq for PropertyValueEdgeQuery
impl StructuralPartialEq for PropertyValueEdgeQuery
Auto Trait Implementations
impl RefUnwindSafe for PropertyValueEdgeQuery
impl Send for PropertyValueEdgeQuery
impl Sync for PropertyValueEdgeQuery
impl Unpin for PropertyValueEdgeQuery
impl UnwindSafe for PropertyValueEdgeQuery
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