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