Enum jsonpath_rust::parser::model::JsonPathIndex
source · pub enum JsonPathIndex {
Single(Value),
UnionIndex(Vec<Value>),
UnionKeys(Vec<String>),
Slice(i32, i32, usize),
Filter(FilterExpression),
}
Variants§
Single(Value)
A single element in array
UnionIndex(Vec<Value>)
Union represents a several indexes
UnionKeys(Vec<String>)
Union represents a several keys
Slice(i32, i32, usize)
DEfault slice where the items are start/end/step respectively
Filter(FilterExpression)
Filter ?()
Trait Implementations§
source§impl Clone for JsonPathIndex
impl Clone for JsonPathIndex
source§fn clone(&self) -> JsonPathIndex
fn clone(&self) -> JsonPathIndex
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 more