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