pub struct BatchResultLine {
pub custom_id: String,
pub response: Option<BatchResponse>,
pub error: Option<BatchError>,
}Expand description
One line of the JSONL results stream.
Fields§
§custom_id: String§response: Option<BatchResponse>§error: Option<BatchError>Trait Implementations§
Source§impl Clone for BatchResultLine
impl Clone for BatchResultLine
Source§fn clone(&self) -> BatchResultLine
fn clone(&self) -> BatchResultLine
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 BatchResultLine
impl Debug for BatchResultLine
Source§impl<'de> Deserialize<'de> for BatchResultLine
impl<'de> Deserialize<'de> for BatchResultLine
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 BatchResultLine
impl PartialEq for BatchResultLine
Source§impl Serialize for BatchResultLine
impl Serialize for BatchResultLine
impl StructuralPartialEq for BatchResultLine
Auto Trait Implementations§
impl Freeze for BatchResultLine
impl RefUnwindSafe for BatchResultLine
impl Send for BatchResultLine
impl Sync for BatchResultLine
impl Unpin for BatchResultLine
impl UnsafeUnpin for BatchResultLine
impl UnwindSafe for BatchResultLine
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