pub enum SingularQuerySegment {
Index(i64),
Name(String),
}
Expand description
Enum representing different types of singular query segments in a JSONPath query.
Variants§
Trait Implementations§
Source§impl Clone for SingularQuerySegment
impl Clone for SingularQuerySegment
Source§fn clone(&self) -> SingularQuerySegment
fn clone(&self) -> SingularQuerySegment
Returns a copy 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 SingularQuerySegment
impl Debug for SingularQuerySegment
Source§impl Display for SingularQuerySegment
impl Display for SingularQuerySegment
Source§impl PartialEq for SingularQuerySegment
impl PartialEq for SingularQuerySegment
Source§impl Query for SingularQuerySegment
impl Query for SingularQuerySegment
impl StructuralPartialEq for SingularQuerySegment
Auto Trait Implementations§
impl Freeze for SingularQuerySegment
impl RefUnwindSafe for SingularQuerySegment
impl Send for SingularQuerySegment
impl Sync for SingularQuerySegment
impl Unpin for SingularQuerySegment
impl UnwindSafe for SingularQuerySegment
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