Expose profile domain

This commit is contained in:
asonix 2021-01-06 10:45:23 -06:00
parent b02753e6b9
commit 19d0fbdb9f

View file

@ -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())
}