[−][src]Struct indradb::PipeEdgeQuery
Gets the edges associated with vertices.
Generally, you shouldn't need to construct this directly, but rather call
.outbound()
or .inbound()
on a vertex query.
Fields
inner: Box<VertexQuery>
The vertex query to build off of.
direction: EdgeDirection
Whether to get outbound or inbound edges on the vertices.
limit: u32
Limits the number of edges to get.
t: Option<Type>
Filters the type of edges returned.
high: Option<DateTime<Utc>>
Specifies the newest update datetime for returned edges.
low: Option<DateTime<Utc>>
Specifies the oldest update datetime for returned edges.
Methods
impl PipeEdgeQuery
[src]
pub fn new(
inner: Box<VertexQuery>,
direction: EdgeDirection,
limit: u32
) -> Self
[src]
inner: Box<VertexQuery>,
direction: EdgeDirection,
limit: u32
) -> Self
Creates a new pipe edge query.
Arguments
inner
- The edge query to build off of.direction
- Whether to get outbound or inbound edges on the vertices.limit
- Limits the number of edges to get.
pub fn t(self, t: Type) -> Self
[src]
pub fn high(self, high: DateTime<Utc>) -> Self
[src]
Filter the update datetime of the edges returned.
Arguments
high
- The newest update datetime for the edges returned.
pub fn low(self, low: DateTime<Utc>) -> Self
[src]
Filter the update datetime of the edges returned.
Arguments
low
- The oldest update datetime for the edges returned.
Trait Implementations
impl Clone for PipeEdgeQuery
[src]
fn clone(&self) -> PipeEdgeQuery
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for PipeEdgeQuery
[src]
impl EdgeQueryExt for PipeEdgeQuery
[src]
fn outbound(self, limit: u32) -> PipeVertexQuery
[src]
fn inbound(self, limit: u32) -> PipeVertexQuery
[src]
fn property<S: Into<String>>(self, name: S) -> EdgePropertyQuery
[src]
impl From<PipeEdgeQuery> for EdgeQuery
[src]
fn from(query: PipeEdgeQuery) -> Self
[src]
impl PartialEq<PipeEdgeQuery> for PipeEdgeQuery
[src]
fn eq(&self, other: &PipeEdgeQuery) -> bool
[src]
fn ne(&self, other: &PipeEdgeQuery) -> bool
[src]
impl StructuralPartialEq for PipeEdgeQuery
[src]
Auto Trait Implementations
impl RefUnwindSafe for PipeEdgeQuery
impl Send for PipeEdgeQuery
impl Sync for PipeEdgeQuery
impl Unpin for PipeEdgeQuery
impl UnwindSafe for PipeEdgeQuery
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,