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