Skip to content

Commit

Permalink
Add public fn Account::id
Browse files Browse the repository at this point in the history
  • Loading branch information
kvinwang authored and djc committed Oct 23, 2024
1 parent 7a78014 commit 5656412
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,11 @@ impl Account {
let _ = Problem::from_response(rsp).await?;
Ok(())
}

/// Get the account ID
pub fn id(&self) -> &str {
&self.inner.id
}
}

struct AccountInner {
Expand Down

0 comments on commit 5656412

Please sign in to comment.