pub struct PipeWithPropertyValueQuery {
pub inner: Box<Query>,
pub name: Identifier,
pub value: Json,
pub equal: bool,
}
Expand description
Gets vertices or edges with a property equal to a given value.
Fields§
§inner: Box<Query>
The query to filter.
name: Identifier
The name of the property.
value: Json
The value of the property.
equal: bool
Whether we should look for property equality or non-equality.
Implementations§
Source§impl PipeWithPropertyValueQuery
impl PipeWithPropertyValueQuery
Sourcepub fn new<T: Into<Identifier>>(
inner: Box<Query>,
name: T,
value: Json,
equal: bool,
) -> ValidationResult<Self>
pub fn new<T: Into<Identifier>>( inner: Box<Query>, name: T, value: Json, equal: bool, ) -> ValidationResult<Self>
Constructs a new pipe with property value query.
§Arguments
inner
: The inner query.name
: The property name to filter.value
: The property value to filter.equal
: Whether the value should be equal, or not equal.
Trait Implementations§
Source§impl Clone for PipeWithPropertyValueQuery
impl Clone for PipeWithPropertyValueQuery
Source§fn clone(&self) -> PipeWithPropertyValueQuery
fn clone(&self) -> PipeWithPropertyValueQuery
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl CountQueryExt for PipeWithPropertyValueQuery
impl CountQueryExt for PipeWithPropertyValueQuery
Source§fn count(self) -> ValidationResult<CountQuery>
fn count(self) -> ValidationResult<CountQuery>
Gets the count from this query.
Source§impl Debug for PipeWithPropertyValueQuery
impl Debug for PipeWithPropertyValueQuery
Source§impl Into<Query> for PipeWithPropertyValueQuery
impl Into<Query> for PipeWithPropertyValueQuery
Source§impl PartialEq for PipeWithPropertyValueQuery
impl PartialEq for PipeWithPropertyValueQuery
Source§fn eq(&self, other: &PipeWithPropertyValueQuery) -> bool
fn eq(&self, other: &PipeWithPropertyValueQuery) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl QueryExt for PipeWithPropertyValueQuery
impl QueryExt for PipeWithPropertyValueQuery
Source§fn outbound(self) -> ValidationResult<PipeQuery>
fn outbound(self) -> ValidationResult<PipeQuery>
Gets the outbound vertices or edges associated with this query.
Source§fn inbound(self) -> ValidationResult<PipeQuery>
fn inbound(self) -> ValidationResult<PipeQuery>
Gets the inbound vertices or edges associated with this query.
Source§fn with_property<T: Into<Identifier>>(
self,
name: T,
) -> ValidationResult<PipeWithPropertyPresenceQuery>
fn with_property<T: Into<Identifier>>( self, name: T, ) -> ValidationResult<PipeWithPropertyPresenceQuery>
Gets values with a property. Read more
Source§fn without_property<T: Into<Identifier>>(
self,
name: T,
) -> ValidationResult<PipeWithPropertyPresenceQuery>
fn without_property<T: Into<Identifier>>( self, name: T, ) -> ValidationResult<PipeWithPropertyPresenceQuery>
Gets values without a property. Read more
Source§fn with_property_equal_to<T: Into<Identifier>>(
self,
name: T,
value: Json,
) -> ValidationResult<PipeWithPropertyValueQuery>
fn with_property_equal_to<T: Into<Identifier>>( self, name: T, value: Json, ) -> ValidationResult<PipeWithPropertyValueQuery>
Gets values with a property equal to a given value. Read more
Source§fn with_property_not_equal_to<T: Into<Identifier>>(
self,
name: T,
value: Json,
) -> ValidationResult<PipeWithPropertyValueQuery>
fn with_property_not_equal_to<T: Into<Identifier>>( self, name: T, value: Json, ) -> ValidationResult<PipeWithPropertyValueQuery>
Gets values with a property not equal to a given value. Read more
Source§fn properties(self) -> ValidationResult<PipePropertyQuery>
fn properties(self) -> ValidationResult<PipePropertyQuery>
Gets the properties associated with the query results.
Source§fn include(self) -> IncludeQuery
fn include(self) -> IncludeQuery
Include this query’s output, even if it is an intermediate result.
impl Eq for PipeWithPropertyValueQuery
impl StructuralPartialEq for PipeWithPropertyValueQuery
Auto Trait Implementations§
impl Freeze for PipeWithPropertyValueQuery
impl RefUnwindSafe for PipeWithPropertyValueQuery
impl Send for PipeWithPropertyValueQuery
impl Sync for PipeWithPropertyValueQuery
impl Unpin for PipeWithPropertyValueQuery
impl UnwindSafe for PipeWithPropertyValueQuery
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more