Struct jmespath::DEFAULT_RUNTIME
source · [−]pub struct DEFAULT_RUNTIME { /* private fields */ }
Methods from Deref<Target = Runtime>
sourcepub fn compile<'a>(
&'a self,
expression: &str
) -> Result<Expression<'a>, JmespathError>
pub fn compile<'a>(
&'a self,
expression: &str
) -> Result<Expression<'a>, JmespathError>
Creates a new JMESPath expression from an expression string.
The provided expression is expected to adhere to the JMESPath grammar: https://jmespath.org/specification.html
sourcepub fn get_function<'a>(&'a self, name: &str) -> Option<&'a dyn Function>
pub fn get_function<'a>(&'a self, name: &str) -> Option<&'a dyn Function>
Gets a function by name from the runtime.
Trait Implementations
sourceimpl Deref for DEFAULT_RUNTIME
impl Deref for DEFAULT_RUNTIME
impl LazyStatic for DEFAULT_RUNTIME
Auto Trait Implementations
impl RefUnwindSafe for DEFAULT_RUNTIME
impl Send for DEFAULT_RUNTIME
impl Sync for DEFAULT_RUNTIME
impl Unpin for DEFAULT_RUNTIME
impl UnwindSafe for DEFAULT_RUNTIME
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more