pub enum A2aResponse {
SendTaskResponse(Option<Task>),
SendTaskUpdateResponse(SendTaskStreamingResponseResult),
SendMessageResponse(SendMessageResponse),
SendStreamingMessageResponse(SendStreamingMessageResponse),
GetTaskResponse(GetTaskResponse),
CancelTaskResponse(CancelTaskResponse),
SetTaskPushNotificationConfigResponse(SetTaskPushNotificationConfigResponse),
GetTaskPushNotificationConfigResponse(GetTaskPushNotificationConfigResponse),
TaskResubscriptionResponse(TaskResubscriptionResponse),
ListTaskPushNotificationConfigResponse(ListTaskPushNotificationConfigResponse),
DeleteTaskPushNotificationConfigResponse(DeleteTaskPushNotificationConfigResponse),
}Variants§
SendTaskResponse(Option<Task>)
SendTaskUpdateResponse(SendTaskStreamingResponseResult)
SendMessageResponse(SendMessageResponse)
SendStreamingMessageResponse(SendStreamingMessageResponse)
GetTaskResponse(GetTaskResponse)
CancelTaskResponse(CancelTaskResponse)
SetTaskPushNotificationConfigResponse(SetTaskPushNotificationConfigResponse)
GetTaskPushNotificationConfigResponse(GetTaskPushNotificationConfigResponse)
TaskResubscriptionResponse(TaskResubscriptionResponse)
ListTaskPushNotificationConfigResponse(ListTaskPushNotificationConfigResponse)
DeleteTaskPushNotificationConfigResponse(DeleteTaskPushNotificationConfigResponse)
Implementations§
Trait Implementations§
Source§impl Clone for A2aResponse
impl Clone for A2aResponse
Source§fn clone(&self) -> A2aResponse
fn clone(&self) -> A2aResponse
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 A2aResponse
impl Debug for A2aResponse
Source§impl<'de> Deserialize<'de> for A2aResponse
impl<'de> Deserialize<'de> for A2aResponse
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 A2aResponse
impl RefUnwindSafe for A2aResponse
impl Send for A2aResponse
impl Sync for A2aResponse
impl Unpin for A2aResponse
impl UnwindSafe for A2aResponse
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