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