pub struct LiveClientMessage {
pub setup: Option<LiveClientSetup>,
pub client_content: Option<LiveClientContent>,
pub realtime_input: Option<LiveClientRealtimeInput>,
pub tool_response: Option<LiveClientToolResponse>,
}Expand description
Messages sent by the client in the API call.
Fields§
§setup: Option<LiveClientSetup>§client_content: Option<LiveClientContent>§realtime_input: Option<LiveClientRealtimeInput>§tool_response: Option<LiveClientToolResponse>Trait Implementations§
Source§impl Clone for LiveClientMessage
impl Clone for LiveClientMessage
Source§fn clone(&self) -> LiveClientMessage
fn clone(&self) -> LiveClientMessage
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 LiveClientMessage
impl Debug for LiveClientMessage
Source§impl<'de> Deserialize<'de> for LiveClientMessage
impl<'de> Deserialize<'de> for LiveClientMessage
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 LiveClientMessage
impl RefUnwindSafe for LiveClientMessage
impl Send for LiveClientMessage
impl Sync for LiveClientMessage
impl Unpin for LiveClientMessage
impl UnsafeUnpin for LiveClientMessage
impl UnwindSafe for LiveClientMessage
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