# IngestJobStatus

## #[non_exhaustive] pub enum IngestJobStatus

The lifecycle status of an ingest job.

## Variants

### Submitted

### Queued

### InProgress

### Completed

### Failed

### Cancelled

### DeletionInProgress

The job is being deleted. Only completed or cancelled jobs can be deleted.

### Deleted

The job was deleted.

### Unknown(String)

A status returned by the server that this client does not recognize.
Treated as a terminal failure by the client’s wait loop.

## Implementations

### impl IngestJobStatus

#### pub fn is_terminal(&self) -> bool

Whether the job has reached a terminal state (no further transitions).

## Trait implementations

### impl From<&IngestJobStatus> for IngestJobStatus

#### fn from(s: &ApiIngestJobStatus) -> Self

**Derived**: [`Debug`](https://doc.rust-lang.org/1.98.1/core/fmt/trait.Debug.html), [`Clone`](https://doc.rust-lang.org/1.98.1/core/clone/trait.Clone.html), [`StructuralPartialEq`](https://doc.rust-lang.org/1.98.1/core/marker/trait.StructuralPartialEq.html), [`PartialEq`](https://doc.rust-lang.org/1.98.1/core/cmp/trait.PartialEq.html), [`Eq`](https://doc.rust-lang.org/1.98.1/core/cmp/trait.Eq.html)

**Auto traits**: [`Send`](https://doc.rust-lang.org/1.98.1/core/marker/trait.Send.html), [`Sync`](https://doc.rust-lang.org/1.98.1/core/marker/trait.Sync.html), [`Unpin`](https://doc.rust-lang.org/1.98.1/core/marker/trait.Unpin.html), [`UnwindSafe`](https://doc.rust-lang.org/1.98.1/core/panic/unwind_safe/trait.UnwindSafe.html), [`RefUnwindSafe`](https://doc.rust-lang.org/1.98.1/core/panic/unwind_safe/trait.RefUnwindSafe.html)
