pub struct LivePartBuilder(/* private fields */);Expand description
Builder for LivePart.
Implementations§
Source§impl LivePartBuilder
impl LivePartBuilder
pub fn thought(self, value: impl Into<bool>) -> Self
pub fn thought_signature(self, value: impl Into<String>) -> Self
pub fn part_metadata(self, value: impl Into<Rest>) -> Self
pub fn media_resolution(self, value: impl Into<MediaResolution>) -> Self
pub fn speech_metadata(self, value: impl Into<SpeechMetadata>) -> Self
pub fn text(self, value: impl Into<String>) -> Self
pub fn inline_data(self, value: impl Into<LiveBlob>) -> Self
pub fn function_call(self, value: impl Into<FunctionCall>) -> Self
pub fn function_response(self, value: impl Into<FunctionResponse>) -> Self
pub fn file_data(self, value: impl Into<FileData>) -> Self
pub fn executable_code(self, value: impl Into<ExecutableCode>) -> Self
pub fn code_execution_result( self, value: impl Into<CodeExecutionResult>, ) -> Self
pub fn tool_call(self, value: impl Into<ToolCall>) -> Self
pub fn tool_response(self, value: impl Into<ToolResponse>) -> Self
pub fn video_metadata(self, value: impl Into<VideoMetadata>) -> Self
pub fn audio_transcription( self, value: impl Into<BidiGenerateContentTranscription>, ) -> Self
pub fn media_processing(self, value: impl Into<LiveMediaProcessing>) -> Self
pub fn rest(self, value: Rest) -> Self
Auto Trait Implementations§
impl Freeze for LivePartBuilder
impl RefUnwindSafe for LivePartBuilder
impl Send for LivePartBuilder
impl Sync for LivePartBuilder
impl Unpin for LivePartBuilder
impl UnsafeUnpin for LivePartBuilder
impl UnwindSafe for LivePartBuilder
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