pub enum FieldPathPart {
Field(String),
Index(usize),
First,
Last,
Lookup(String),
}Expand description
A part of a field path that can be navigated without execution.
Variants§
Field(String)
Field access: .name
Index(usize)
Literal integer index: [0], [1]
First
First element: [0]
Last
Last element: [$]
Lookup(String)
Graph traversal key: ->table, <-table, <->table
Trait Implementations§
Source§impl Clone for FieldPathPart
impl Clone for FieldPathPart
Source§impl Debug for FieldPathPart
impl Debug for FieldPathPart
impl Eq for FieldPathPart
Source§impl Hash for FieldPathPart
impl Hash for FieldPathPart
Source§impl PartialEq for FieldPathPart
impl PartialEq for FieldPathPart
impl StructuralPartialEq for FieldPathPart
Auto Trait Implementations§
impl Freeze for FieldPathPart
impl RefUnwindSafe for FieldPathPart
impl Send for FieldPathPart
impl Sync for FieldPathPart
impl Unpin for FieldPathPart
impl UnsafeUnpin for FieldPathPart
impl UnwindSafe for FieldPathPart
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.