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