pub struct EmbedContentRequestBodyBuilder(/* private fields */);Expand description
Builder for EmbedContentRequestBody.
Implementations§
Source§impl EmbedContentRequestBodyBuilder
impl EmbedContentRequestBodyBuilder
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) -> EmbedContentRequestBody
pub fn build(self) -> EmbedContentRequestBody
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for EmbedContentRequestBodyBuilder
impl RefUnwindSafe for EmbedContentRequestBodyBuilder
impl Send for EmbedContentRequestBodyBuilder
impl Sync for EmbedContentRequestBodyBuilder
impl Unpin for EmbedContentRequestBodyBuilder
impl UnsafeUnpin for EmbedContentRequestBodyBuilder
impl UnwindSafe for EmbedContentRequestBodyBuilder
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