pub struct BatchRequestOutputResponse {
pub status_code: Option<u64>,
pub request_id: Option<String>,
pub body: Option<HashMap<String, Value>>,
}
Fields§
§status_code: Option<u64>
The HTTP status code of the response
request_id: Option<String>
An unique identifier for the OpenAI API request. Please include this request ID when contacting support.
body: Option<HashMap<String, Value>>
The JSON body of the response
Implementations§
Source§impl BatchRequestOutputResponse
impl BatchRequestOutputResponse
Sourcepub fn builder() -> BatchRequestOutputResponseBuilder<((), (), ())>
pub fn builder() -> BatchRequestOutputResponseBuilder<((), (), ())>
Create a builder for building BatchRequestOutputResponse
.
On the builder, call .status_code(...)
(optional), .request_id(...)
(optional), .body(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of BatchRequestOutputResponse
.
Trait Implementations§
Source§impl Clone for BatchRequestOutputResponse
impl Clone for BatchRequestOutputResponse
Source§fn clone(&self) -> BatchRequestOutputResponse
fn clone(&self) -> BatchRequestOutputResponse
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 moreSource§impl Debug for BatchRequestOutputResponse
impl Debug for BatchRequestOutputResponse
Source§impl Default for BatchRequestOutputResponse
impl Default for BatchRequestOutputResponse
Source§fn default() -> BatchRequestOutputResponse
fn default() -> BatchRequestOutputResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BatchRequestOutputResponse
impl<'de> Deserialize<'de> for BatchRequestOutputResponse
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
impl StructuralPartialEq for BatchRequestOutputResponse
Auto Trait Implementations§
impl Freeze for BatchRequestOutputResponse
impl RefUnwindSafe for BatchRequestOutputResponse
impl Send for BatchRequestOutputResponse
impl Sync for BatchRequestOutputResponse
impl Unpin for BatchRequestOutputResponse
impl UnwindSafe for BatchRequestOutputResponse
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