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