referrerpolicy=no-referrer-when-downgrade
pub trait MaybeSerialize: Serialize { }
Expand description

A type that implements Serialize when in std environment or serde feature is activated.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> MaybeSerialize for T
where T: Serialize,