Trait proteus::action::Action[][src]

pub trait Action: Send + Sync + Debug + Serialize + Deserialize {
    fn apply<'a>(
        &'a self,
        source: &'a Value,
        destination: &mut Value
    ) -> Result<Option<Cow<'a, Value>>, Error>; }
Expand description

An action represents an operation to be carried out on a serde_json::Value object.

Required methods

Trait Implementations

Serialize this value into the given Serde serializer. Read more

Serialize this value into the given Serde serializer. Read more

Serialize this value into the given Serde serializer. Read more

Serialize this value into the given Serde serializer. Read more

Implementors