#[non_exhaustive]pub struct EmbedContentConfig {
pub document_ocr: Option<bool>,
pub audio_track_extraction: Option<bool>,
pub task_type: Option<GeminiTaskType>,
pub title: Option<String>,
pub output_dimensionality: Option<i64>,
pub auto_truncate: Option<bool>,
pub rest: Rest,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.document_ocr: Option<bool>§audio_track_extraction: Option<bool>§task_type: Option<GeminiTaskType>§title: Option<String>§output_dimensionality: Option<i64>§auto_truncate: Option<bool>§rest: RestImplementations§
Source§impl EmbedContentConfig
impl EmbedContentConfig
Sourcepub fn builder() -> EmbedContentConfigBuilder
pub fn builder() -> EmbedContentConfigBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl Clone for EmbedContentConfig
impl Clone for EmbedContentConfig
Source§impl Debug for EmbedContentConfig
impl Debug for EmbedContentConfig
Source§impl DeclaredFields for EmbedContentConfig
impl DeclaredFields for EmbedContentConfig
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for EmbedContentConfig
impl<'de> Deserialize<'de> for EmbedContentConfig
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
Source§impl PartialEq for EmbedContentConfig
impl PartialEq for EmbedContentConfig
Source§impl Serialize for EmbedContentConfig
impl Serialize for EmbedContentConfig
impl StructuralPartialEq for EmbedContentConfig
Auto Trait Implementations§
impl Freeze for EmbedContentConfig
impl RefUnwindSafe for EmbedContentConfig
impl Send for EmbedContentConfig
impl Sync for EmbedContentConfig
impl Unpin for EmbedContentConfig
impl UnsafeUnpin for EmbedContentConfig
impl UnwindSafe for EmbedContentConfig
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