[][src]Struct emmett::filters::Json

pub struct Json {
    pub skip_on_invalid_json: bool,
    pub source: Option<String>,
    pub tag_on_failure: Vec<String>,
    pub target: Option<String>,
}

Fields

skip_on_invalid_json: boolsource: Option<String>tag_on_failure: Vec<String>target: Option<String>

Methods

impl Json[src]

pub fn process(self, input: Value) -> Result<Value, ()>[src]

Trait Implementations

impl Default for Json[src]

impl Clone for Json[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for Json[src]

impl<'_> TryFrom<&'_ Value> for Json[src]

type Error = ()

The type returned in the event of a conversion error.

Auto Trait Implementations

impl Sync for Json

impl Send for Json

impl Unpin for Json

impl RefUnwindSafe for Json

impl UnwindSafe for Json

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

impl<T> From<T> for 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.

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

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

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

impl<T> Erased for T

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

impl<T> Same<T> for T

type Output = T

Should always be Self