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