pub struct InlinedBatchGenerationResponseItem {
pub metadata: RequestMetadata,
pub result: BatchGenerateContentResponseItem,
}
Expand description
Represents a single response item within an inlined batch response.
This structure combines request metadata with the actual response or error, used when batch results are returned inline rather than in a separate file.
Fields§
§metadata: RequestMetadata
Request metadata containing the original key and other identifiers
result: BatchGenerateContentResponseItem
The actual response content or error for this batch item
Trait Implementations§
Source§impl Clone for InlinedBatchGenerationResponseItem
impl Clone for InlinedBatchGenerationResponseItem
Source§fn clone(&self) -> InlinedBatchGenerationResponseItem
fn clone(&self) -> InlinedBatchGenerationResponseItem
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<'de> Deserialize<'de> for InlinedBatchGenerationResponseItem
impl<'de> Deserialize<'de> for InlinedBatchGenerationResponseItem
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 InlinedBatchGenerationResponseItem
impl RefUnwindSafe for InlinedBatchGenerationResponseItem
impl Send for InlinedBatchGenerationResponseItem
impl Sync for InlinedBatchGenerationResponseItem
impl Unpin for InlinedBatchGenerationResponseItem
impl UnwindSafe for InlinedBatchGenerationResponseItem
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