Trait Storable
oasis_game_contract::helpers
pub trait Storable<T>: Serialize + DeserializeOwned { fn save(&self, path: String) { ... } fn load(path: String) -> Option<Self> { ... } }
A model that can be persisted in storage.
fn save(&self, path: String)
fn load(path: String) -> Option<Self>