pub struct GoogleGenerateContentResponse {
pub candidates: Option<Vec<GoogleCandidate>>,
pub usage_metadata: Option<GoogleUsageMetadata>,
pub model_version: Option<String>,
}Fields§
§candidates: Option<Vec<GoogleCandidate>>§usage_metadata: Option<GoogleUsageMetadata>§model_version: Option<String>Trait Implementations§
Source§impl Clone for GoogleGenerateContentResponse
impl Clone for GoogleGenerateContentResponse
Source§fn clone(&self) -> GoogleGenerateContentResponse
fn clone(&self) -> GoogleGenerateContentResponse
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 GoogleGenerateContentResponse
impl<'de> Deserialize<'de> for GoogleGenerateContentResponse
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 GoogleGenerateContentResponse
impl RefUnwindSafe for GoogleGenerateContentResponse
impl Send for GoogleGenerateContentResponse
impl Sync for GoogleGenerateContentResponse
impl Unpin for GoogleGenerateContentResponse
impl UnsafeUnpin for GoogleGenerateContentResponse
impl UnwindSafe for GoogleGenerateContentResponse
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