Trait near_syn::NearSerde[][src]

pub trait NearSerde {
    fn is_serialize(&self) -> bool;
fn is_deserialize(&self) -> bool;
fn is_serde(&self) -> bool; }

Defines methods to deal with serde’s declarations in structs or enums.

Required methods

fn is_serialize(&self) -> bool[src]

Returns whether the given self item derives serde::Serialize.

fn is_deserialize(&self) -> bool[src]

Returns whether the given self item derives serde::Deserialize.

fn is_serde(&self) -> bool[src]

Returns whether the given self item derives either serde::Serialize or serde::Deserialize.

Loading content...

Implementors

Loading content...