pub struct PreparedBatchRequest {
pub id: String,
pub body: JsonObject,
pub warnings: Vec<Warning>,
}Expand description
A prepared batch request: the generateContent body and its warnings.
Fields§
§id: StringCaller-assigned request id.
body: JsonObjectRequest body.
warnings: Vec<Warning>Warnings.
Trait Implementations§
Source§impl Clone for PreparedBatchRequest
impl Clone for PreparedBatchRequest
Source§fn clone(&self) -> PreparedBatchRequest
fn clone(&self) -> PreparedBatchRequest
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 PreparedBatchRequest
impl Debug for PreparedBatchRequest
Source§impl PartialEq for PreparedBatchRequest
impl PartialEq for PreparedBatchRequest
impl StructuralPartialEq for PreparedBatchRequest
Auto Trait Implementations§
impl Freeze for PreparedBatchRequest
impl RefUnwindSafe for PreparedBatchRequest
impl Send for PreparedBatchRequest
impl Sync for PreparedBatchRequest
impl Unpin for PreparedBatchRequest
impl UnsafeUnpin for PreparedBatchRequest
impl UnwindSafe for PreparedBatchRequest
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