pub struct BatchRequestOutput {
pub id: String,
pub custom_id: String,
pub response: Option<BatchRequestOutputResponse>,
pub error: Option<BatchRequestOutputError>,
}
Expand description
The per-line object of the batch output and error files
Fields§
§id: String
§custom_id: String
A developer-provided per-request id that will be used to match outputs to inputs.
response: Option<BatchRequestOutputResponse>
§error: Option<BatchRequestOutputError>
For requests that failed with a non-HTTP error, this will contain more information on the cause of the failure.
Trait Implementations§
Source§impl Clone for BatchRequestOutput
impl Clone for BatchRequestOutput
Source§fn clone(&self) -> BatchRequestOutput
fn clone(&self) -> BatchRequestOutput
Returns a copy 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 BatchRequestOutput
impl Debug for BatchRequestOutput
Source§impl<'de> Deserialize<'de> for BatchRequestOutput
impl<'de> Deserialize<'de> for BatchRequestOutput
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 PartialEq for BatchRequestOutput
impl PartialEq for BatchRequestOutput
Source§impl Serialize for BatchRequestOutput
impl Serialize for BatchRequestOutput
impl StructuralPartialEq for BatchRequestOutput
Auto Trait Implementations§
impl Freeze for BatchRequestOutput
impl RefUnwindSafe for BatchRequestOutput
impl Send for BatchRequestOutput
impl Sync for BatchRequestOutput
impl Unpin for BatchRequestOutput
impl UnwindSafe for BatchRequestOutput
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