pub struct Batch {
pub id: String,
pub name: String,
pub status: BatchStatus,
pub request_count: u32,
pub completed_count: u32,
pub failed_count: u32,
pub created_at: Option<i64>,
pub completed_at: Option<i64>,
}Expand description
A batch for processing multiple requests.
Fields§
§id: StringUnique identifier for the batch.
name: StringName of the batch.
status: BatchStatusCurrent status of the batch.
request_count: u32Number of requests in the batch.
completed_count: u32Number of completed requests.
failed_count: u32Number of failed requests.
created_at: Option<i64>Creation timestamp.
completed_at: Option<i64>Completion timestamp.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Batch
impl<'de> Deserialize<'de> for Batch
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
Auto Trait Implementations§
impl Freeze for Batch
impl RefUnwindSafe for Batch
impl Send for Batch
impl Sync for Batch
impl Unpin for Batch
impl UnsafeUnpin for Batch
impl UnwindSafe for Batch
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