pub enum BatchResultItem {
Success {
key: String,
response: GenerationResponse,
},
Error {
key: String,
error: IndividualRequestError,
},
}
Expand description
The outcome of a single request in a batch operation.
Variants§
Trait Implementations§
Source§impl Clone for BatchResultItem
impl Clone for BatchResultItem
Source§fn clone(&self) -> BatchResultItem
fn clone(&self) -> BatchResultItem
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 BatchResultItem
impl Debug for BatchResultItem
Source§impl PartialEq for BatchResultItem
impl PartialEq for BatchResultItem
impl StructuralPartialEq for BatchResultItem
Auto Trait Implementations§
impl Freeze for BatchResultItem
impl RefUnwindSafe for BatchResultItem
impl Send for BatchResultItem
impl Sync for BatchResultItem
impl Unpin for BatchResultItem
impl UnwindSafe for BatchResultItem
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