Check if an identity with the given name exists.
(&self, name: &str)
| 669 | |
| 670 | /// Check if an identity with the given name exists. |
| 671 | pub fn exists_by_name(&self, name: &str) -> bool { |
| 672 | self.load_by_name(name).is_ok() |
| 673 | } |
| 674 | |
| 675 | /// Get the default identity. |
| 676 | pub fn get_default(&self) -> Result<Option<Identity>, IdentityError> { |
no test coverage detected