Struct fxbox_taxonomy::values::Json [] [src]

pub struct Json(pub Value);

Representation of an object in JSON. It is often (albeit not always) possible to choose a more precise data structure for representing values send/accepted by a service. If possible, adapters should rather pick such more precise data structure.

Trait Implementations

impl Deserialize for Json

fn deserialize<__D>(deserializer: &mut __D) -> Result<Json, __D::Error> where __D: Deserializer

impl Serialize for Json

fn serialize<__S>(&self, serializer: &mut __S) -> Result<(), __S::Error> where __S: Serializer

impl PartialOrd for Json

fn partial_cmp(&self, _: &Self) -> Option<Ordering>

1.0.0fn lt(&self, other: &Rhs) -> bool

1.0.0fn le(&self, other: &Rhs) -> bool

1.0.0fn gt(&self, other: &Rhs) -> bool

1.0.0fn ge(&self, other: &Rhs) -> bool

Derived Implementations

impl PartialEq for Json

fn eq(&self, __arg_0: &Json) -> bool

fn ne(&self, __arg_0: &Json) -> bool

impl Clone for Json

fn clone(&self) -> Json

1.0.0fn clone_from(&mut self, source: &Self)

impl Debug for Json

fn fmt(&self, __arg_0: &mut Formatter) -> Result