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