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 ce03749 commit 836dec2Copy full SHA for 836dec2
rust/rbac-registration/src/cardano/cip509/utils/cip134.rs
@@ -57,6 +57,7 @@ impl Cip0134Uri {
57
/// let uri = "web+cardano://addr/stake1uyehkck0lajq8gr28t9uxnuvgcqrc6070x3k9r8048z8y5gh6ffgw";
58
/// let cip0134_uri = Cip0134Uri::parse(uri).unwrap();
59
/// assert_eq!(cip0134_uri.uri(), uri);
60
+ /// ```
61
#[must_use]
62
pub fn uri(&self) -> &str {
63
&self.uri
@@ -76,6 +77,7 @@ impl Cip0134Uri {
76
77
/// panic!("Unexpected address type");
78
/// };
79
/// assert_eq!(address.network(), Network::Mainnet);
80
81
82
pub fn address(&self) -> &Address {
83
&self.address
0 commit comments