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: http://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§
Source§impl Deref for DEFAULT_RUNTIME
impl Deref for DEFAULT_RUNTIME
impl LazyStatic for DEFAULT_RUNTIME
Auto Trait Implementations§
impl Freeze for DEFAULT_RUNTIME
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§
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