pub struct ToolImplementationDescriptor {
pub id: String,
pub version: String,
pub implementation_description: String,
pub default_public_description: String,
pub config_schema: Value,
pub input_schema: Value,
pub capabilities: Vec<Capability>,
pub supported_restrictions: Vec<RestrictionKind>,
pub trust_class: ToolTrustClass,
}Expand description
Immutable, side-effect-free metadata supplied by a trusted implementation.
Fields§
§id: String§version: String§implementation_description: String§default_public_description: String§config_schema: Value§input_schema: Value§capabilities: Vec<Capability>§supported_restrictions: Vec<RestrictionKind>§trust_class: ToolTrustClassImplementations§
Trait Implementations§
Source§impl Clone for ToolImplementationDescriptor
impl Clone for ToolImplementationDescriptor
Source§fn clone(&self) -> ToolImplementationDescriptor
fn clone(&self) -> ToolImplementationDescriptor
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 ToolImplementationDescriptor
impl Debug for ToolImplementationDescriptor
Auto Trait Implementations§
impl Freeze for ToolImplementationDescriptor
impl RefUnwindSafe for ToolImplementationDescriptor
impl Send for ToolImplementationDescriptor
impl Sync for ToolImplementationDescriptor
impl Unpin for ToolImplementationDescriptor
impl UnsafeUnpin for ToolImplementationDescriptor
impl UnwindSafe for ToolImplementationDescriptor
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more