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