1use crate::InstanceId; 2 3/// Trait used to identify objects (data stored in database, instances of structs using rpc) 4pub trait Identity: Send + Sync { 5 fn id(&self) -> &InstanceId; 6}