pub enum Seg {
Key(String),
Index(usize),
Select {
key: String,
value: String,
},
}Expand description
A path segment: an object key, an array index, or a predicate selecting the
array element whose key equals value ([key=value]).
Variants§
Trait Implementations§
impl Eq for Seg
impl StructuralPartialEq for Seg
Auto Trait Implementations§
impl Freeze for Seg
impl RefUnwindSafe for Seg
impl Send for Seg
impl Sync for Seg
impl Unpin for Seg
impl UnsafeUnpin for Seg
impl UnwindSafe for Seg
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