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