pub struct LiveServerMessage {
pub setup_complete: Option<LiveServerSetupComplete>,
pub server_content: Option<LiveServerContent>,
pub tool_call: Option<LiveServerToolCall>,
pub tool_call_cancellation: Option<LiveServerToolCallCancellation>,
pub usage_metadata: Option<UsageMetadata>,
pub go_away: Option<LiveServerGoAway>,
pub session_resumption_update: Option<LiveServerSessionResumptionUpdate>,
pub voice_activity_detection_signal: Option<VoiceActivityDetectionSignal>,
}Expand description
Response message for API call.
Fields§
§setup_complete: Option<LiveServerSetupComplete>§server_content: Option<LiveServerContent>§tool_call: Option<LiveServerToolCall>§tool_call_cancellation: Option<LiveServerToolCallCancellation>§usage_metadata: Option<UsageMetadata>§go_away: Option<LiveServerGoAway>§session_resumption_update: Option<LiveServerSessionResumptionUpdate>§voice_activity_detection_signal: Option<VoiceActivityDetectionSignal>Trait Implementations§
Source§impl Clone for LiveServerMessage
impl Clone for LiveServerMessage
Source§fn clone(&self) -> LiveServerMessage
fn clone(&self) -> LiveServerMessage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LiveServerMessage
impl Debug for LiveServerMessage
Source§impl<'de> Deserialize<'de> for LiveServerMessage
impl<'de> Deserialize<'de> for LiveServerMessage
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
Auto Trait Implementations§
impl Freeze for LiveServerMessage
impl RefUnwindSafe for LiveServerMessage
impl Send for LiveServerMessage
impl Sync for LiveServerMessage
impl Unpin for LiveServerMessage
impl UnsafeUnpin for LiveServerMessage
impl UnwindSafe for LiveServerMessage
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