pub trait ValueIndex {
// Required method
fn get_in<'a>(&self, v: &'a RuntimeValue) -> Option<&'a RuntimeValue>;
}Expand description
Index trait for RuntimeValue::get. Mirrors
serde_json::value::Index — &str indexes objects, usize
indexes arrays.
Required Methods§
fn get_in<'a>(&self, v: &'a RuntimeValue) -> Option<&'a RuntimeValue>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".