Add public `fn Account::id`

This commit is contained in:
Kevin Wang 2024-10-23 21:47:59 +08:00 committed by Dirkjan Ochtman
parent 7a780148cb
commit 5656412698
1 changed files with 5 additions and 0 deletions

View File

@ -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 {