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