pub enum ServerMessageResponseMessageResponse {
ServerMessageResponseAssistantRequest(ServerMessageResponseAssistantRequest),
ServerMessageResponseKnowledgeBaseRequest(ServerMessageResponseKnowledgeBaseRequest),
ServerMessageResponseToolCalls(ServerMessageResponseToolCalls),
ServerMessageResponseTransferDestinationRequest(ServerMessageResponseTransferDestinationRequest),
ServerMessageResponseVoiceRequest(ServerMessageResponseVoiceRequest),
}
Expand description
ServerMessageResponseMessageResponse : This is the response that is expected from the server to the message. Note: Most messages don’t expect a response. Only "assistant-request", "tool-calls" and "transfer-destination-request" do. This is the response that is expected from the server to the message. Note: Most messages don’t expect a response. Only "assistant-request", "tool-calls" and "transfer-destination-request" do.
Variants§
ServerMessageResponseAssistantRequest(ServerMessageResponseAssistantRequest)
ServerMessageResponseKnowledgeBaseRequest(ServerMessageResponseKnowledgeBaseRequest)
ServerMessageResponseToolCalls(ServerMessageResponseToolCalls)
ServerMessageResponseTransferDestinationRequest(ServerMessageResponseTransferDestinationRequest)
ServerMessageResponseVoiceRequest(ServerMessageResponseVoiceRequest)
Trait Implementations§
Source§impl Clone for ServerMessageResponseMessageResponse
impl Clone for ServerMessageResponseMessageResponse
Source§fn clone(&self) -> ServerMessageResponseMessageResponse
fn clone(&self) -> ServerMessageResponseMessageResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'de> Deserialize<'de> for ServerMessageResponseMessageResponse
impl<'de> Deserialize<'de> for ServerMessageResponseMessageResponse
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
Source§impl PartialEq for ServerMessageResponseMessageResponse
impl PartialEq for ServerMessageResponseMessageResponse
Source§fn eq(&self, other: &ServerMessageResponseMessageResponse) -> bool
fn eq(&self, other: &ServerMessageResponseMessageResponse) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ServerMessageResponseMessageResponse
Auto Trait Implementations§
impl Freeze for ServerMessageResponseMessageResponse
impl RefUnwindSafe for ServerMessageResponseMessageResponse
impl Send for ServerMessageResponseMessageResponse
impl Sync for ServerMessageResponseMessageResponse
impl Unpin for ServerMessageResponseMessageResponse
impl UnwindSafe for ServerMessageResponseMessageResponse
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