pub enum MsgVariant {
Text(TextMessage),
ToolRequest(ToolRequestMessage),
ToolResponse(ToolResponseMessage),
}Variants§
Trait Implementations§
Source§impl Clone for MsgVariant
impl Clone for MsgVariant
Source§fn clone(&self) -> MsgVariant
fn clone(&self) -> MsgVariant
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 MsgVariant
impl Debug for MsgVariant
Source§impl<'de> Deserialize<'de> for MsgVariant
impl<'de> Deserialize<'de> for MsgVariant
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 MsgVariant
impl PartialEq for MsgVariant
Source§impl Serialize for MsgVariant
impl Serialize for MsgVariant
impl StructuralPartialEq for MsgVariant
Auto Trait Implementations§
impl Freeze for MsgVariant
impl RefUnwindSafe for MsgVariant
impl Send for MsgVariant
impl Sync for MsgVariant
impl Unpin for MsgVariant
impl UnsafeUnpin for MsgVariant
impl UnwindSafe for MsgVariant
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