pub fn is_public_key_already_exists(&self) -> bool {
        matches!(
            &self.kind,
            CreatePublicKeyErrorKind::PublicKeyAlreadyExists(_)
        )
    }
/// Returns `true` if the error kind is `CreatePublicKeyErrorKind::PublicKeyAlreadyExists`.
Returns `true` if the error kind is `CreatePublicKeyErrorKind::PublicKeyAlreadyExists`.
Returns ` true ` if the error kind is ` CreatePublicKeyErrorKind :: PublicKeyAlreadyExists ` .
pub fn is_public_key_already_exists(&self) -> bool {
        matches!(
            &self.kind,
            CreatePublicKeyErrorKind::PublicKeyAlreadyExists(_)
        )
    }
pub fn is_public_key_already_exists ( & self ) -> bool { matches ! ( self kind CreatePublicKeyErrorKind PublicKeyAlreadyExists ( ) ) }
Returns `true` if the error kind is `CreatePublicKeyErrorKind::PublicKeyAlreadyExists`.
Returns ` true ` if the error kind is ` CreatePublicKeyErrorKind :: PublicKeyAlreadyExists ` .
&self
&self