pub struct EmbedContentConfigBuilder(/* private fields */);Expand description
Builder for EmbedContentConfig.
Implementations§
Source§impl EmbedContentConfigBuilder
impl EmbedContentConfigBuilder
pub fn document_ocr(self, value: impl Into<bool>) -> Self
pub fn audio_track_extraction(self, value: impl Into<bool>) -> Self
pub fn task_type(self, value: impl Into<GeminiTaskType>) -> Self
pub fn title(self, value: impl Into<String>) -> Self
pub fn output_dimensionality(self, value: impl Into<i64>) -> Self
pub fn auto_truncate(self, value: impl Into<bool>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> EmbedContentConfig
pub fn build(self) -> EmbedContentConfig
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for EmbedContentConfigBuilder
impl RefUnwindSafe for EmbedContentConfigBuilder
impl Send for EmbedContentConfigBuilder
impl Sync for EmbedContentConfigBuilder
impl Unpin for EmbedContentConfigBuilder
impl UnsafeUnpin for EmbedContentConfigBuilder
impl UnwindSafe for EmbedContentConfigBuilder
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