pub struct BatchOutputItem {
pub id: String,
pub custom_id: Option<String>,
pub response: BatchResponseDetails,
pub error: Option<Value>,
}Expand description
Batch output item - represents a completed request in OpenAI format.
Fields§
§id: StringRequest ID
custom_id: Option<String>Custom ID from the original request
response: BatchResponseDetailsResponse details
error: Option<Value>Error (should be null for successful responses)
Trait Implementations§
Source§impl Clone for BatchOutputItem
impl Clone for BatchOutputItem
Source§fn clone(&self) -> BatchOutputItem
fn clone(&self) -> BatchOutputItem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BatchOutputItem
impl Debug for BatchOutputItem
Source§impl<'de> Deserialize<'de> for BatchOutputItem
impl<'de> Deserialize<'de> for BatchOutputItem
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 BatchOutputItem
impl RefUnwindSafe for BatchOutputItem
impl Send for BatchOutputItem
impl Sync for BatchOutputItem
impl Unpin for BatchOutputItem
impl UnsafeUnpin for BatchOutputItem
impl UnwindSafe for BatchOutputItem
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