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