pub struct NodesQuery {
pub from: Option<String>,
pub through: Option<ViewPropertyReference>,
pub filter: Option<AdvancedFilter>,
pub direction: Option<QueryDirection>,
pub chain_to: Option<QueryChainSide>,
}Expand description
Query for nodes.
Fields§
§from: Option<String>Chain result starting from this query.
through: Option<ViewPropertyReference>Chain result through this direct relation property in the
query referenced by from.
filter: Option<AdvancedFilter>Filter on nodes to retrieve.
direction: Option<QueryDirection>The direction to use when traversing direct relations. Only
applicable when through is specified.
chain_to: Option<QueryChainSide>Control which side of the edge to chain from. This option is only applicable if
the view referenced in the from field consists of edges.
Trait Implementations§
Source§impl Clone for NodesQuery
impl Clone for NodesQuery
Source§fn clone(&self) -> NodesQuery
fn clone(&self) -> NodesQuery
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 NodesQuery
impl Debug for NodesQuery
Source§impl Default for NodesQuery
impl Default for NodesQuery
Source§fn default() -> NodesQuery
fn default() -> NodesQuery
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NodesQuery
impl<'de> Deserialize<'de> for NodesQuery
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 NodesQuery
impl RefUnwindSafe for NodesQuery
impl Send for NodesQuery
impl Sync for NodesQuery
impl Unpin for NodesQuery
impl UnwindSafe for NodesQuery
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