#[non_exhaustive]pub struct LivePart {Show 18 fields
pub thought: Option<bool>,
pub thought_signature: Option<String>,
pub part_metadata: Option<Rest>,
pub media_resolution: Option<MediaResolution>,
pub speech_metadata: Option<SpeechMetadata>,
pub text: Option<String>,
pub inline_data: Option<LiveBlob>,
pub function_call: Option<FunctionCall>,
pub function_response: Option<FunctionResponse>,
pub file_data: Option<FileData>,
pub executable_code: Option<ExecutableCode>,
pub code_execution_result: Option<CodeExecutionResult>,
pub tool_call: Option<ToolCall>,
pub tool_response: Option<ToolResponse>,
pub video_metadata: Option<VideoMetadata>,
pub audio_transcription: Option<BidiGenerateContentTranscription>,
pub media_processing: Option<LiveMediaProcessing>,
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.thought: Option<bool>§thought_signature: Option<String>§part_metadata: Option<Rest>§media_resolution: Option<MediaResolution>§speech_metadata: Option<SpeechMetadata>§text: Option<String>§inline_data: Option<LiveBlob>§function_call: Option<FunctionCall>§function_response: Option<FunctionResponse>§file_data: Option<FileData>§executable_code: Option<ExecutableCode>§code_execution_result: Option<CodeExecutionResult>§tool_call: Option<ToolCall>§tool_response: Option<ToolResponse>§video_metadata: Option<VideoMetadata>§audio_transcription: Option<BidiGenerateContentTranscription>§media_processing: Option<LiveMediaProcessing>§rest: RestImplementations§
Trait Implementations§
Source§impl DeclaredFields for LivePart
impl DeclaredFields for LivePart
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for LivePart
impl<'de> Deserialize<'de> for LivePart
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
impl StructuralPartialEq for LivePart
Auto Trait Implementations§
impl Freeze for LivePart
impl RefUnwindSafe for LivePart
impl Send for LivePart
impl Sync for LivePart
impl Unpin for LivePart
impl UnsafeUnpin for LivePart
impl UnwindSafe for LivePart
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