Enum indradb::EdgeQuery [−][src]
pub enum EdgeQuery { Edges { keys: Vec<EdgeKey>, }, Pipe { vertex_query: Box<VertexQuery>, converter: EdgeDirection, type_filter: Option<Type>, high_filter: Option<DateTime<Utc>>, low_filter: Option<DateTime<Utc>>, limit: u32, }, }
A query for edges.
This is used by transactions to get, set and delete edges and edge metadata.
Variants
Edges
Fields of Edges
keys: Vec<EdgeKey> |
Pipe
Fields of Pipe
vertex_query: Box<VertexQuery> | |
converter: EdgeDirection | |
type_filter: Option<Type> | |
high_filter: Option<DateTime<Utc>> | |
low_filter: Option<DateTime<Utc>> | |
limit: u32 |
Methods
impl EdgeQuery
[src]
impl EdgeQuery
pub fn outbound_vertices(self, limit: u32) -> VertexQuery
[src]
pub fn outbound_vertices(self, limit: u32) -> VertexQuery
pub fn inbound_vertices(self, limit: u32) -> VertexQuery
[src]
pub fn inbound_vertices(self, limit: u32) -> VertexQuery
Trait Implementations
impl Eq for EdgeQuery
[src]
impl Eq for EdgeQuery
impl PartialEq for EdgeQuery
[src]
impl PartialEq for EdgeQuery
fn eq(&self, other: &EdgeQuery) -> bool
[src]
fn eq(&self, other: &EdgeQuery) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &EdgeQuery) -> bool
[src]
fn ne(&self, other: &EdgeQuery) -> bool
This method tests for !=
.
impl Clone for EdgeQuery
[src]
impl Clone for EdgeQuery
fn clone(&self) -> EdgeQuery
[src]
fn clone(&self) -> EdgeQuery
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for EdgeQuery
[src]
impl Debug for EdgeQuery
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Hash for EdgeQuery
[src]
impl Hash for EdgeQuery