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