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