pub struct BatchEmbedContentsResponse {
pub embeddings: Vec<ContentEmbedding>,
pub usage_metadata: Option<EmbeddingUsageMetadata>,
pub extra: ExtraFields,
}Fields§
§embeddings: Vec<ContentEmbedding>§usage_metadata: Option<EmbeddingUsageMetadata>§extra: ExtraFieldsTrait Implementations§
Source§impl Clone for BatchEmbedContentsResponse
impl Clone for BatchEmbedContentsResponse
Source§fn clone(&self) -> BatchEmbedContentsResponse
fn clone(&self) -> BatchEmbedContentsResponse
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 BatchEmbedContentsResponse
impl Debug for BatchEmbedContentsResponse
Source§impl Default for BatchEmbedContentsResponse
impl Default for BatchEmbedContentsResponse
Source§fn default() -> BatchEmbedContentsResponse
fn default() -> BatchEmbedContentsResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BatchEmbedContentsResponse
impl<'de> Deserialize<'de> for BatchEmbedContentsResponse
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
impl StructuralPartialEq for BatchEmbedContentsResponse
Auto Trait Implementations§
impl Freeze for BatchEmbedContentsResponse
impl RefUnwindSafe for BatchEmbedContentsResponse
impl Send for BatchEmbedContentsResponse
impl Sync for BatchEmbedContentsResponse
impl Unpin for BatchEmbedContentsResponse
impl UnsafeUnpin for BatchEmbedContentsResponse
impl UnwindSafe for BatchEmbedContentsResponse
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