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

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

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

Required methods

pub fn apply(
    &self,
    source: &Value,
    destination: &mut Value
) -> Result<Option<Value>, Error>
[src]

Loading content...

Trait Implementations

impl<'typetag> Serialize for dyn Action + 'typetag[src]

impl<'typetag> Serialize for dyn Action + Send + 'typetag[src]

impl<'typetag> Serialize for dyn Action + Sync + 'typetag[src]

impl<'typetag> Serialize for dyn Action + Send + Sync + 'typetag[src]

impl Strictest for dyn Action[src]

type Object = dyn Action + Send + Sync

Implementors

impl Action for Constant[src]

impl Action for Getter[src]

impl Action for Join[src]

impl Action for Setter[src]

Loading content...