Check if an identity with the given name exists.
(&self, name: &str)
| 661 | |
| 662 | /// Check if an identity with the given name exists. |
| 663 | pub fn exists_by_name(&self, name: &str) -> bool { |
| 664 | self.load_by_name(name).is_ok() |
| 665 | } |
| 666 | |
| 667 | /// Get the default identity. |
| 668 | pub fn get_default(&self) -> Result<Option<Identity>, IdentityError> { |