We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c777f93 commit 6eb47b4Copy full SHA for 6eb47b4
rust/rbac-registration/src/cardano/cip509/cip509.rs
@@ -204,6 +204,12 @@ impl Cip509 {
204
self.metadata.as_ref().and_then(|m| m.role_data.get(&role))
205
}
206
207
+ /// Returns a purpose of this registration.
208
+ #[must_use]
209
+ pub fn purpose(&self) -> Option<UuidV4> {
210
+ self.purpose
211
+ }
212
+
213
/// Returns a hash of the previous transaction.
214
#[must_use]
215
pub fn previous_transaction(&self) -> Option<Blake2b256Hash> {
0 commit comments