pub struct ProviderTask {
pub name: String,
pub description: String,
pub input_schema: Value,
pub output_schema: Option<Value>,
pub scope: Option<String>,
pub mcp: Option<McpOverlay>,
pub limits: Option<ProviderLimits>,
}Fields§
§name: String§description: String§input_schema: Value§output_schema: Option<Value>§scope: Option<String>§mcp: Option<McpOverlay>§limits: Option<ProviderLimits>Trait Implementations§
Source§impl Clone for ProviderTask
impl Clone for ProviderTask
Source§fn clone(&self) -> ProviderTask
fn clone(&self) -> ProviderTask
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 ProviderTask
impl Debug for ProviderTask
Source§impl<'de> Deserialize<'de> for ProviderTask
impl<'de> Deserialize<'de> for ProviderTask
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 ProviderTask
impl PartialEq for ProviderTask
Source§fn eq(&self, other: &ProviderTask) -> bool
fn eq(&self, other: &ProviderTask) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProviderTask
impl Serialize for ProviderTask
impl StructuralPartialEq for ProviderTask
Auto Trait Implementations§
impl Freeze for ProviderTask
impl RefUnwindSafe for ProviderTask
impl Send for ProviderTask
impl Sync for ProviderTask
impl Unpin for ProviderTask
impl UnsafeUnpin for ProviderTask
impl UnwindSafe for ProviderTask
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