pub struct EmbeddingsBatchJobSource {
pub file_name: Option<String>,
pub inlined_requests: Option<EmbedContentBatch>,
}Expand description
Embeddings batch 输入源(Gemini inline)。
Fields§
§file_name: Option<String>§inlined_requests: Option<EmbedContentBatch>Trait Implementations§
Source§impl Clone for EmbeddingsBatchJobSource
impl Clone for EmbeddingsBatchJobSource
Source§fn clone(&self) -> EmbeddingsBatchJobSource
fn clone(&self) -> EmbeddingsBatchJobSource
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 EmbeddingsBatchJobSource
impl Debug for EmbeddingsBatchJobSource
Source§impl Default for EmbeddingsBatchJobSource
impl Default for EmbeddingsBatchJobSource
Source§fn default() -> EmbeddingsBatchJobSource
fn default() -> EmbeddingsBatchJobSource
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EmbeddingsBatchJobSource
impl<'de> Deserialize<'de> for EmbeddingsBatchJobSource
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 EmbeddingsBatchJobSource
impl RefUnwindSafe for EmbeddingsBatchJobSource
impl Send for EmbeddingsBatchJobSource
impl Sync for EmbeddingsBatchJobSource
impl Unpin for EmbeddingsBatchJobSource
impl UnsafeUnpin for EmbeddingsBatchJobSource
impl UnwindSafe for EmbeddingsBatchJobSource
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