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