Struct indradb::PipePropertyValueEdgeQuery
source · [−]pub struct PipePropertyValueEdgeQuery {
pub inner: Box<EdgeQuery>,
pub name: Identifier,
pub value: Value,
pub equal: bool,
}
Expand description
Gets edges with a property equal to a given value.
Fields
inner: Box<EdgeQuery>
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 PipePropertyValueEdgeQuery
impl PipePropertyValueEdgeQuery
sourcepub fn new<T: Into<Identifier>>(
inner: Box<EdgeQuery>,
name: T,
value: Value,
equal: bool
) -> Self
pub fn new<T: Into<Identifier>>(
inner: Box<EdgeQuery>,
name: T,
value: Value,
equal: bool
) -> Self
Creates a new edge query for getting edges 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 PipePropertyValueEdgeQuery
impl Clone for PipePropertyValueEdgeQuery
sourcefn clone(&self) -> PipePropertyValueEdgeQuery
fn clone(&self) -> PipePropertyValueEdgeQuery
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 PipePropertyValueEdgeQuery
impl Debug for PipePropertyValueEdgeQuery
sourceimpl EdgeQueryExt for PipePropertyValueEdgeQuery
impl EdgeQueryExt for PipePropertyValueEdgeQuery
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 PipePropertyValueEdgeQuery
impl Into<EdgeQuery> for PipePropertyValueEdgeQuery
sourceimpl PartialEq<PipePropertyValueEdgeQuery> for PipePropertyValueEdgeQuery
impl PartialEq<PipePropertyValueEdgeQuery> for PipePropertyValueEdgeQuery
sourcefn eq(&self, other: &PipePropertyValueEdgeQuery) -> bool
fn eq(&self, other: &PipePropertyValueEdgeQuery) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PipePropertyValueEdgeQuery) -> bool
fn ne(&self, other: &PipePropertyValueEdgeQuery) -> bool
This method tests for !=
.
impl Eq for PipePropertyValueEdgeQuery
impl StructuralEq for PipePropertyValueEdgeQuery
impl StructuralPartialEq for PipePropertyValueEdgeQuery
Auto Trait Implementations
impl RefUnwindSafe for PipePropertyValueEdgeQuery
impl Send for PipePropertyValueEdgeQuery
impl Sync for PipePropertyValueEdgeQuery
impl Unpin for PipePropertyValueEdgeQuery
impl UnwindSafe for PipePropertyValueEdgeQuery
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