Trait authzen_core::Identifiable
source · pub trait Identifiable {
type Id: Clone + DeserializeOwned + Eq + Hash + Send + Serialize + Sync + 'static;
// Required method
fn id(&self) -> &Self::Id;
}Required Associated Types§
Required Methods§
Implementors§
source§impl<T, Id> Identifiable for Twhere
for<'a> &'a T: Identifiable<Id = &'a Id>,
Id: Clone + DeserializeOwned + Eq + Hash + Send + Serialize + Sync + 'static,
Available on crate feature diesel-storage-backend only.
impl<T, Id> Identifiable for Twhere for<'a> &'a T: Identifiable<Id = &'a Id>, Id: Clone + DeserializeOwned + Eq + Hash + Send + Serialize + Sync + 'static,
Available on crate feature
diesel-storage-backend only.