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