pub enum A2aMessageType {
Request,
Response,
Notification,
Error,
}Expand description
Type of an agent-to-agent message.
Variants§
Trait Implementations§
Source§impl Clone for A2aMessageType
impl Clone for A2aMessageType
Source§fn clone(&self) -> A2aMessageType
fn clone(&self) -> A2aMessageType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 A2aMessageType
impl Debug for A2aMessageType
Source§impl<'de> Deserialize<'de> for A2aMessageType
impl<'de> Deserialize<'de> for A2aMessageType
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 Hash for A2aMessageType
impl Hash for A2aMessageType
Source§impl PartialEq for A2aMessageType
impl PartialEq for A2aMessageType
Source§fn eq(&self, other: &A2aMessageType) -> bool
fn eq(&self, other: &A2aMessageType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for A2aMessageType
impl Serialize for A2aMessageType
impl Copy for A2aMessageType
impl Eq for A2aMessageType
impl StructuralPartialEq for A2aMessageType
Auto Trait Implementations§
impl Freeze for A2aMessageType
impl RefUnwindSafe for A2aMessageType
impl Send for A2aMessageType
impl Sync for A2aMessageType
impl Unpin for A2aMessageType
impl UnsafeUnpin for A2aMessageType
impl UnwindSafe for A2aMessageType
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