Check if an identity with the given name exists.
(&self, name: &str)
| 690 | |
| 691 | /// Check if an identity with the given name exists. |
| 692 | pub fn exists_by_name(&self, name: &str) -> bool { |
| 693 | self.load_by_name(name).is_ok() |
| 694 | } |
| 695 | |
| 696 | /// Get the default identity. |
| 697 | pub fn get_default(&self) -> Result<Option<Identity>, IdentityError> { |
no test coverage detected