pub struct ResponsesBatchRequest {
pub options: Option<ResponsesBatchRequestOptions>,
pub requests: Vec<ResponsesRequest>,
}Expand description
ResponsesBatchRequest
JSON schema
{
"type": "object",
"required": [
"requests"
],
"properties": {
"options": {
"type": "object",
"properties": {
"abort_on_error": {
"type": "boolean"
},
"max_parallelism": {
"type": "integer",
"format": "uint32",
"maximum": 100.0,
"minimum": 1.0
}
}
},
"requests": {
"type": "array",
"items": {
"$ref": "#/$defs/ResponsesRequest"
}
}
}
}Fields§
§options: Option<ResponsesBatchRequestOptions>§requests: Vec<ResponsesRequest>Trait Implementations§
Source§impl Clone for ResponsesBatchRequest
impl Clone for ResponsesBatchRequest
Source§fn clone(&self) -> ResponsesBatchRequest
fn clone(&self) -> ResponsesBatchRequest
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ResponsesBatchRequest
impl Debug for ResponsesBatchRequest
Source§impl<'de> Deserialize<'de> for ResponsesBatchRequest
impl<'de> Deserialize<'de> for ResponsesBatchRequest
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
Source§impl From<&ResponsesBatchRequest> for ResponsesBatchRequest
impl From<&ResponsesBatchRequest> for ResponsesBatchRequest
Source§fn from(value: &ResponsesBatchRequest) -> Self
fn from(value: &ResponsesBatchRequest) -> Self
Converts to this type from the input type.
Source§impl From<ResponsesBatchRequest> for ModelRelayApi
impl From<ResponsesBatchRequest> for ModelRelayApi
Source§fn from(value: ResponsesBatchRequest) -> Self
fn from(value: ResponsesBatchRequest) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ResponsesBatchRequest
impl PartialEq for ResponsesBatchRequest
Source§impl Serialize for ResponsesBatchRequest
impl Serialize for ResponsesBatchRequest
impl StructuralPartialEq for ResponsesBatchRequest
Auto Trait Implementations§
impl Freeze for ResponsesBatchRequest
impl RefUnwindSafe for ResponsesBatchRequest
impl Send for ResponsesBatchRequest
impl Sync for ResponsesBatchRequest
impl Unpin for ResponsesBatchRequest
impl UnwindSafe for ResponsesBatchRequest
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)