Enum indradb::VertexQuery
source · pub enum VertexQuery {
All {
start_id: Option<Uuid>,
limit: u32,
},
Vertices {
ids: Vec<Uuid>,
},
Pipe {
edge_query: Box<EdgeQuery>,
converter: EdgeDirection,
limit: u32,
},
}Expand description
A query for vertices.
This is used by transactions to get, set and delete vertices and vertex properties.
Variants
All
Vertices
Pipe
Implementations
sourceimpl VertexQuery
impl VertexQuery
pub fn outbound_edges(
self,
type_filter: Option<Type>,
high_filter: Option<DateTime<Utc>>,
low_filter: Option<DateTime<Utc>>,
limit: u32
) -> EdgeQuery
pub fn inbound_edges(
self,
type_filter: Option<Type>,
high_filter: Option<DateTime<Utc>>,
low_filter: Option<DateTime<Utc>>,
limit: u32
) -> EdgeQuery
Trait Implementations
sourceimpl Clone for VertexQuery
impl Clone for VertexQuery
sourcefn clone(&self) -> VertexQuery
fn clone(&self) -> VertexQuery
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 moresourceimpl Debug for VertexQuery
impl Debug for VertexQuery
sourceimpl<'de> Deserialize<'de> for VertexQuery
impl<'de> Deserialize<'de> for VertexQuery
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Hash for VertexQuery
impl Hash for VertexQuery
sourceimpl PartialEq<VertexQuery> for VertexQuery
impl PartialEq<VertexQuery> for VertexQuery
sourcefn eq(&self, other: &VertexQuery) -> bool
fn eq(&self, other: &VertexQuery) -> bool
sourceimpl Serialize for VertexQuery
impl Serialize for VertexQuery
impl Eq for VertexQuery
impl StructuralEq for VertexQuery
impl StructuralPartialEq for VertexQuery
Auto Trait Implementations
impl RefUnwindSafe for VertexQuery
impl Send for VertexQuery
impl Sync for VertexQuery
impl Unpin for VertexQuery
impl UnwindSafe for VertexQuery
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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