#[non_exhaustive]pub struct McpListToolsEvent {
pub agent: Option<Option<Agent>>,
pub sequence_number: i64,
pub item_id: String,
pub output_index: i64,
pub rest: Rest,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.agent: Option<Option<Agent>>§sequence_number: i64§item_id: String§output_index: i64§rest: RestImplementations§
Trait Implementations§
Source§impl Clone for McpListToolsEvent
impl Clone for McpListToolsEvent
Source§impl Debug for McpListToolsEvent
impl Debug for McpListToolsEvent
Source§impl DeclaredFields for McpListToolsEvent
impl DeclaredFields for McpListToolsEvent
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for McpListToolsEvent
impl<'de> Deserialize<'de> for McpListToolsEvent
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 McpListToolsEvent
impl PartialEq for McpListToolsEvent
Source§impl Serialize for McpListToolsEvent
impl Serialize for McpListToolsEvent
impl StructuralPartialEq for McpListToolsEvent
Auto Trait Implementations§
impl Freeze for McpListToolsEvent
impl RefUnwindSafe for McpListToolsEvent
impl Send for McpListToolsEvent
impl Sync for McpListToolsEvent
impl Unpin for McpListToolsEvent
impl UnsafeUnpin for McpListToolsEvent
impl UnwindSafe for McpListToolsEvent
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