[][src]Struct jmespatch::DEFAULT_RUNTIME

pub struct DEFAULT_RUNTIME { /* fields omitted */ }

Methods from Deref<Target = Runtime>

pub fn compile<'a>(
    &'a self,
    expression: &str
) -> Result<Expression<'a>, JmespathError>
[src]

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

pub fn get_function<'a>(&'a self, name: &str) -> Option<&'a dyn Function>[src]

Gets a function by name from the runtime.

Trait Implementations

impl Deref for DEFAULT_RUNTIME[src]

type Target = Runtime

The resulting type after dereferencing.

impl LazyStatic for DEFAULT_RUNTIME[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.