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