Skip to content
Snippets Groups Projects
Commit cadb0753 authored by Pascal Engélibert's avatar Pascal Engélibert :bicyclist:
Browse files

Rename associated type Other to OtherReason

parent ba57fad7
No related branches found
No related tags found
1 merge request!179feat: Identity removal reason
Pipeline #33216 waiting for manual action
...@@ -38,10 +38,10 @@ pub enum IdtyEvent<T: crate::Config> { ...@@ -38,10 +38,10 @@ pub enum IdtyEvent<T: crate::Config> {
} }
#[derive(Encode, Decode, Clone, PartialEq, Eq, RuntimeDebug, TypeInfo)] #[derive(Encode, Decode, Clone, PartialEq, Eq, RuntimeDebug, TypeInfo)]
pub enum IdtyRemovalReason<Other: TypeInfo + Decode + Encode + Eq + Clone> { pub enum IdtyRemovalReason<OtherReason: TypeInfo + Decode + Encode + Eq + Clone> {
Expired, Expired,
Manual, Manual,
Other(Other), Other(OtherReason),
Revoked, Revoked,
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment