pub trait Identity: Send + Sync {
// Required method
fn id(&self) -> &InstanceId;
}
Expand description
Trait used to identify objects (data stored in database, instances of structs using rpc)
pub trait Identity: Send + Sync {
// Required method
fn id(&self) -> &InstanceId;
}
Trait used to identify objects (data stored in database, instances of structs using rpc)