Trait lockchain_core::traits::AutoEncoder [] [src]

pub trait AutoEncoder: Serialize + DeserializeOwned {
    fn encode(&self) -> String { ... }
fn decode(s: &str) -> Self { ... } }

Auto-implement this trait to serialise types to json

Provided Methods

Implementors