#[non_exhaustive]pub enum SearchOrder {
BREADTH,
DEPTH,
}
Expand description
For recursive WithQuery WithClauses the traversing order can be specified in some databases that support this functionality.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
BREADTH
Breadth first traversal during the execution of the recursive query.
DEPTH
Depth first traversal during the execution of the recursive query.
Trait Implementations§
Source§impl Clone for SearchOrder
impl Clone for SearchOrder
Source§fn clone(&self) -> SearchOrder
fn clone(&self) -> SearchOrder
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 SearchOrder
impl Debug for SearchOrder
Source§impl PartialEq for SearchOrder
impl PartialEq for SearchOrder
impl StructuralPartialEq for SearchOrder
Auto Trait Implementations§
impl Freeze for SearchOrder
impl RefUnwindSafe for SearchOrder
impl Send for SearchOrder
impl Sync for SearchOrder
impl Unpin for SearchOrder
impl UnwindSafe for SearchOrder
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