pub enum BatchStatus {
Pending,
Running {
pending_count: i64,
completed_count: i64,
failed_count: i64,
total_count: i64,
},
Succeeded {
results: Vec<BatchResultItem>,
},
Cancelled,
Expired,
}
Expand description
Represents the overall status of a batch operation.
Variants§
Pending
The operation is waiting to be processed.
Running
The operation is currently being processed.
Succeeded
The operation has completed successfully.
Fields
§
results: Vec<BatchResultItem>
Cancelled
The operation was cancelled by the user.
Expired
The operation has expired.
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 PartialEq for BatchStatus
impl PartialEq 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