pub struct BatchEmbedContentRequestBuilder(/* private fields */);Expand description
Builder for BatchEmbedContentRequest.
Implementations§
Source§impl BatchEmbedContentRequestBuilder
impl BatchEmbedContentRequestBuilder
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 embed_content_config(self, value: impl Into<EmbedContentConfig>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> BatchEmbedContentRequest
pub fn build(self) -> BatchEmbedContentRequest
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for BatchEmbedContentRequestBuilder
impl RefUnwindSafe for BatchEmbedContentRequestBuilder
impl Send for BatchEmbedContentRequestBuilder
impl Sync for BatchEmbedContentRequestBuilder
impl Unpin for BatchEmbedContentRequestBuilder
impl UnsafeUnpin for BatchEmbedContentRequestBuilder
impl UnwindSafe for BatchEmbedContentRequestBuilder
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