pub struct BatchResultLine {
pub id: String,
pub custom_id: String,
pub response: Option<BatchResultResponse>,
pub error: Option<BatchResultError>,
pub extra: Map<String, Value>,
}Expand description
One result JSONL line; native success and error response bodies remain arbitrary JSON objects.
Fields§
§id: StringGenerated request id.
custom_id: StringOriginal caller id.
response: Option<BatchResultResponse>An executed native request response.
error: Option<BatchResultError>A record which could not be executed or retained.
extra: Map<String, Value>Future response fields.
Trait Implementations§
Source§impl Clone for BatchResultLine
impl Clone for BatchResultLine
Source§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
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