pub struct JsonPathLanguage { /* private fields */ }Expand description
JSONPath language implementation for rust-camel.
Implementations§
Source§impl JsonPathLanguage
impl JsonPathLanguage
Sourcepub fn with_config(config: JsonPathConfig) -> Self
pub fn with_config(config: JsonPathConfig) -> Self
Create a new instance with the given configuration.
Trait Implementations§
Source§impl Default for JsonPathLanguage
impl Default for JsonPathLanguage
Source§impl Language for JsonPathLanguage
impl Language for JsonPathLanguage
fn name(&self) -> &'static str
fn create_expression( &self, script: &str, ) -> Result<Box<dyn Expression>, LanguageError>
fn create_predicate( &self, script: &str, ) -> Result<Box<dyn Predicate>, LanguageError>
Source§fn create_mutating_expression(
&self,
_script: &str,
) -> Result<Box<dyn MutatingExpression>, LanguageError>
fn create_mutating_expression( &self, _script: &str, ) -> Result<Box<dyn MutatingExpression>, LanguageError>
Create a mutating expression. Default returns NotSupported.
Source§fn create_mutating_predicate(
&self,
_script: &str,
) -> Result<Box<dyn MutatingPredicate>, LanguageError>
fn create_mutating_predicate( &self, _script: &str, ) -> Result<Box<dyn MutatingPredicate>, LanguageError>
Create a mutating predicate. Default returns NotSupported.
Auto Trait Implementations§
impl Freeze for JsonPathLanguage
impl RefUnwindSafe for JsonPathLanguage
impl Send for JsonPathLanguage
impl Sync for JsonPathLanguage
impl Unpin for JsonPathLanguage
impl UnsafeUnpin for JsonPathLanguage
impl UnwindSafe for JsonPathLanguage
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