pub struct EdgesQuery {
pub from: Option<String>,
pub max_distance: Option<i32>,
pub direction: Option<QueryDirection>,
pub filter: Option<AdvancedFilter>,
pub node_filter: Option<AdvancedFilter>,
pub termination_filter: Option<AdvancedFilter>,
pub limit_each: Option<i32>,
}Expand description
Query for edges
Fields§
§from: Option<String>Chain result starting from this query.
max_distance: Option<i32>Maximum number of levels to traverse.
direction: Option<QueryDirection>The direction to use when traversing. Defaults to outwards.
filter: Option<AdvancedFilter>Filter on edges.
node_filter: Option<AdvancedFilter>Filter on nodes along the path.
termination_filter: Option<AdvancedFilter>Termination filter, if this matches, the query won’t go any deeper, but the edge will be included.
limit_each: Option<i32>Limit the number of returned edges for each of the source nodes in the result set.
The indicated limit applies to the result set from the referenced from.
limit_each only has meaning when you also specify max_distance = 1 and from.
Trait Implementations§
Source§impl Clone for EdgesQuery
impl Clone for EdgesQuery
Source§fn clone(&self) -> EdgesQuery
fn clone(&self) -> EdgesQuery
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 Debug for EdgesQuery
impl Debug for EdgesQuery
Source§impl Default for EdgesQuery
impl Default for EdgesQuery
Source§fn default() -> EdgesQuery
fn default() -> EdgesQuery
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EdgesQuery
impl<'de> Deserialize<'de> for EdgesQuery
Source§fn 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
Auto Trait Implementations§
impl Freeze for EdgesQuery
impl RefUnwindSafe for EdgesQuery
impl Send for EdgesQuery
impl Sync for EdgesQuery
impl Unpin for EdgesQuery
impl UnwindSafe for EdgesQuery
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