pub trait ToOperator<Ctx: ?Sized>: MaybeSend + MaybeSync {
// Required method
fn to_operator(
&self,
value: &JsonValue,
) -> Result<Operator<Ctx>, Box<dyn StdError>>;
// Provided method
fn json_schema(&self) -> JsonValue { ... }
}