pub struct PipeWithPropertyPresenceQuery {
pub inner: Box<Query>,
pub name: Identifier,
pub exists: bool,
}
Expand description
Gets vertices or edges with or without a property.
Fields§
§inner: Box<Query>
The query to filter.
name: Identifier
The name of the property.
exists: bool
Whether we should look for property presence or lack thereof.
Implementations§
Source§impl PipeWithPropertyPresenceQuery
impl PipeWithPropertyPresenceQuery
Sourcepub fn new<T: Into<Identifier>>(
inner: Box<Query>,
name: T,
exists: bool,
) -> ValidationResult<Self>
pub fn new<T: Into<Identifier>>( inner: Box<Query>, name: T, exists: bool, ) -> ValidationResult<Self>
Gets vertices with a property.
Arguments
inner
: The query to filter.name
: The name of the property.exists
: Whether we should look for property presence or lack thereof.
Trait Implementations§
Source§impl Clone for PipeWithPropertyPresenceQuery
impl Clone for PipeWithPropertyPresenceQuery
Source§fn clone(&self) -> PipeWithPropertyPresenceQuery
fn clone(&self) -> PipeWithPropertyPresenceQuery
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl CountQueryExt for PipeWithPropertyPresenceQuery
impl CountQueryExt for PipeWithPropertyPresenceQuery
Source§fn count(self) -> ValidationResult<CountQuery>
fn count(self) -> ValidationResult<CountQuery>
Gets the count from this query.
Source§impl Into<Query> for PipeWithPropertyPresenceQuery
impl Into<Query> for PipeWithPropertyPresenceQuery
Source§impl PartialEq for PipeWithPropertyPresenceQuery
impl PartialEq for PipeWithPropertyPresenceQuery
Source§fn eq(&self, other: &PipeWithPropertyPresenceQuery) -> bool
fn eq(&self, other: &PipeWithPropertyPresenceQuery) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl QueryExt for PipeWithPropertyPresenceQuery
impl QueryExt for PipeWithPropertyPresenceQuery
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 PipeWithPropertyPresenceQuery
impl StructuralPartialEq for PipeWithPropertyPresenceQuery
Auto Trait Implementations§
impl Freeze for PipeWithPropertyPresenceQuery
impl RefUnwindSafe for PipeWithPropertyPresenceQuery
impl Send for PipeWithPropertyPresenceQuery
impl Sync for PipeWithPropertyPresenceQuery
impl Unpin for PipeWithPropertyPresenceQuery
impl UnwindSafe for PipeWithPropertyPresenceQuery
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.