Expand description
Traits and helpers for persistent fields. See the Params trait for more
information.
Modules§
- serialize_
atomic_ cell - Can be used with the
#[serde(with = "nice_plug::params::internals::serialize_atomic_cell")]attribute to serializeAtomicCell<T>s.
Traits§
- Persistent
Field - Handles the functionality needed for persisting a non-parameter fields in a plugin’s state.
These types can be used with
Params’#[persist = "..."]attributes.
Functions§
- deserialize_
field - Re-export for use in the
Paramsproc-macro. Deserialize an instance of typeTfrom a string of JSON text. - serialize_
field - Re-export for use in the
Paramsproc-macro. Serialize the given data structure as a String of JSON.