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