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