pub struct BatchJob {
pub id: String,
pub status: BatchStatus,
pub created_at: Option<String>,
pub started_at: Option<String>,
pub ended_at: Option<String>,
pub expires_at: Option<String>,
pub request_counts: BatchRequestCounts,
pub error: Option<String>,
}Expand description
Information about a batch job.
Fields§
§id: StringUnique batch ID
status: BatchStatusCurrent status
created_at: Option<String>When the batch was created
started_at: Option<String>When the batch started processing
ended_at: Option<String>When the batch finished
expires_at: Option<String>When the batch expires
request_counts: BatchRequestCountsTotal requests in the batch
error: Option<String>Error message if the batch failed
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BatchJob
impl<'de> Deserialize<'de> for BatchJob
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 BatchJob
impl RefUnwindSafe for BatchJob
impl Send for BatchJob
impl Sync for BatchJob
impl Unpin for BatchJob
impl UnwindSafe for BatchJob
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