Trait StorageData

Source
pub trait StorageData:
    Debug
    + Clone
    + Default
    + for<'a> Deserialize<'a>
    + Serialize {
    // Required method
    fn name() -> String;
}

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl StorageData for String

Implementors§