pub trait CommonMethods<'a>: CommonMethodsCore + Serialize + Deserialize<'a> {
    // Provided methods
    fn py_to_json(&self) -> String { ... }
    fn py_from_json(raw: &'a str) -> PyResult<Self> { ... }
}

Provided Methods§

source

fn py_to_json(&self) -> String

source

fn py_from_json(raw: &'a str) -> PyResult<Self>

Object Safety§

This trait is not object safe.

Implementors§