#[non_exhaustive]pub struct McpCall {
pub agent: Option<Option<Agent>>,
pub type_: McpCallType,
pub id: String,
pub arguments: String,
pub name: String,
pub server_label: String,
pub approval_request_id: Option<Option<String>>,
pub error: Option<Option<String>>,
pub output: Option<Option<String>>,
pub status: Option<McpCallStatus>,
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>>§type_: McpCallType§id: String§arguments: String§name: String§server_label: String§approval_request_id: Option<Option<String>>§error: Option<Option<String>>§output: Option<Option<String>>§status: Option<McpCallStatus>§rest: RestImplementations§
Trait Implementations§
Source§impl DeclaredFields for McpCall
impl DeclaredFields for McpCall
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for McpCall
impl<'de> Deserialize<'de> for McpCall
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
impl Eq for McpCall
impl StructuralPartialEq for McpCall
Auto Trait Implementations§
impl Freeze for McpCall
impl RefUnwindSafe for McpCall
impl Send for McpCall
impl Sync for McpCall
impl Unpin for McpCall
impl UnsafeUnpin for McpCall
impl UnwindSafe for McpCall
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