pub struct CallMCPDefinition {
pub call: String,
pub with: MCPArguments,
pub common: TaskDefinitionFields,
}Expand description
Represents the definition of an MCP call task (spec 1.0.3)
Fields§
§call: StringGets/sets the call type identifier
with: MCPArgumentsGets/sets the call arguments
common: TaskDefinitionFieldsGets/sets the task’s common fields
Trait Implementations§
Source§impl Clone for CallMCPDefinition
impl Clone for CallMCPDefinition
Source§fn clone(&self) -> CallMCPDefinition
fn clone(&self) -> CallMCPDefinition
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 CallMCPDefinition
impl Debug for CallMCPDefinition
Source§impl Default for CallMCPDefinition
impl Default for CallMCPDefinition
Source§fn default() -> CallMCPDefinition
fn default() -> CallMCPDefinition
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CallMCPDefinition
impl<'de> Deserialize<'de> for CallMCPDefinition
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 CallMCPDefinition
impl PartialEq for CallMCPDefinition
Source§fn eq(&self, other: &CallMCPDefinition) -> bool
fn eq(&self, other: &CallMCPDefinition) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CallMCPDefinition
impl Serialize for CallMCPDefinition
impl StructuralPartialEq for CallMCPDefinition
Auto Trait Implementations§
impl Freeze for CallMCPDefinition
impl RefUnwindSafe for CallMCPDefinition
impl Send for CallMCPDefinition
impl Sync for CallMCPDefinition
impl Unpin for CallMCPDefinition
impl UnsafeUnpin for CallMCPDefinition
impl UnwindSafe for CallMCPDefinition
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