pub enum BatchProgressEvent {
Update(BatchUpdateEventData),
Progress(BatchProgressData),
BatchCompleted(BatchCompletedData),
}Expand description
A typed SSE event from the batch progress stream.
Variants§
Update(BatchUpdateEventData)
An individual update within the batch changed status.
Progress(BatchProgressData)
Overall batch progress summary.
BatchCompleted(BatchCompletedData)
The batch has reached a terminal status.
Trait Implementations§
Source§impl Clone for BatchProgressEvent
impl Clone for BatchProgressEvent
Source§fn clone(&self) -> BatchProgressEvent
fn clone(&self) -> BatchProgressEvent
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 moreAuto Trait Implementations§
impl Freeze for BatchProgressEvent
impl RefUnwindSafe for BatchProgressEvent
impl Send for BatchProgressEvent
impl Sync for BatchProgressEvent
impl Unpin for BatchProgressEvent
impl UnsafeUnpin for BatchProgressEvent
impl UnwindSafe for BatchProgressEvent
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