pub enum BatchStatus {
Validating,
InProgress,
Finalizing,
Completed,
Expired,
Cancelling,
Cancelled,
Failed,
}
Expand description
Status of batch processing
Variants§
Validating
Batch is validating inputs
InProgress
Batch is in the processing queue
Finalizing
Batch is being processed
Completed
Batch processing completed successfully
Expired
Batch processing expired before completion
Cancelling
Batch processing was cancelled
Cancelled
Batch processing was cancelled
Failed
Batch processing failed
Implementations§
Source§impl BatchStatus
impl BatchStatus
Sourcepub fn is_terminal(&self) -> bool
pub fn is_terminal(&self) -> bool
Check if the batch is in a terminal state
Sourcepub fn is_processing(&self) -> bool
pub fn is_processing(&self) -> bool
Check if the batch is still being processed
Trait Implementations§
Source§impl Clone for BatchStatus
impl Clone for BatchStatus
Source§fn clone(&self) -> BatchStatus
fn clone(&self) -> BatchStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BatchStatus
impl Debug for BatchStatus
Source§impl<'de> Deserialize<'de> for BatchStatus
impl<'de> Deserialize<'de> for BatchStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for BatchStatus
impl PartialEq for BatchStatus
Source§impl Serialize for BatchStatus
impl Serialize for BatchStatus
impl Copy for BatchStatus
impl StructuralPartialEq for BatchStatus
Auto Trait Implementations§
impl Freeze for BatchStatus
impl RefUnwindSafe for BatchStatus
impl Send for BatchStatus
impl Sync for BatchStatus
impl Unpin for BatchStatus
impl UnwindSafe for BatchStatus
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more