pub type JsonFilePersistor<V> = CustomPersistor<V, String, str, AsyncFileStringIO, fn(&V) -> Result<String>, fn(&str) -> Result<V>>;Aliased Type§
pub struct JsonFilePersistor<V> {
pub ser: fn(&V) -> Result<String, Error>,
pub de: fn(&str) -> Result<V, Error>,
pub id: String,
pub scope: Scope,
pub suffix: Option<String>,
/* private fields */
}Fields§
§ser: fn(&V) -> Result<String, Error>§de: fn(&str) -> Result<V, Error>§id: String§scope: Scope§suffix: Option<String>