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 struct
s or enum
s.
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
.
Implementors
impl<I: NearAttributable> NearSerde for I
[src]
impl<I: NearAttributable> NearSerde for I
[src]