Skip to content

Commit 5656412

Browse files
kvinwangdjc
authored andcommitted
Add public fn Account::id
1 parent 7a78014 commit 5656412

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/lib.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,11 @@ impl Account {
408408
let _ = Problem::from_response(rsp).await?;
409409
Ok(())
410410
}
411+
412+
/// Get the account ID
413+
pub fn id(&self) -> &str {
414+
&self.inner.id
415+
}
411416
}
412417

413418
struct AccountInner {

0 commit comments

Comments
 (0)