Expose profile domain
This commit is contained in:
parent
b02753e6b9
commit
19d0fbdb9f
|
@ -89,6 +89,10 @@ impl Profile {
|
|||
&self.handle
|
||||
}
|
||||
|
||||
pub fn domain(&self) -> &str {
|
||||
&self.domain
|
||||
}
|
||||
|
||||
pub fn display_name(&self) -> Option<&str> {
|
||||
self.display_name.as_ref().map(|dn| dn.as_str())
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue