Trait Savable
Source pub trait Savable: Serialize + Deserialize {
// Required methods
fn indexed_db_name(&self) -> String;
fn save_indexed<'a>(
&'a self,
obj: ObjectStore<AppError>,
) -> Pin<Box<dyn Future<Output = Result<(), AppError>> + 'a>>;
fn save_endpoint(
&self,
) -> Pin<Box<dyn Future<Output = Result<(), ServerFnError>>>>;
fn message(&self) -> Option<View>;
fn clone_box(&self) -> Box<dyn Savable>;
fn has_change(&self) -> bool;
}
Serialize this value into the given Serde serializer.
Read more
Serialize this value into the given Serde serializer.
Read more
Serialize this value into the given Serde serializer.
Read more
Serialize this value into the given Serde serializer.
Read more