Add public `fn Account::id`
This commit is contained in:
parent
7a780148cb
commit
5656412698
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue