pub trait Index {
fn index_into<'v>(&self, v: &'v Value) -> Option<&'v Value>;
}
Expand description
A type that can be used to index into a bin_prot::Value
.
Required Methods
sourcefn index_into<'v>(&self, v: &'v Value) -> Option<&'v Value>
fn index_into<'v>(&self, v: &'v Value) -> Option<&'v Value>
Return None if the key is not already in the array or object.