pub struct ToolResolution {
pub name: String,
pub resolved: ResolvedValue,
pub source: String,
}Expand description
One resolved tool or declared version: what it is, what it resolved to, and a description of where that came from.
Fields§
§name: String§resolved: ResolvedValue§source: StringTrait Implementations§
Source§impl Clone for ToolResolution
impl Clone for ToolResolution
Source§impl Debug for ToolResolution
impl Debug for ToolResolution
Source§impl<'de> Deserialize<'de> for ToolResolution
impl<'de> Deserialize<'de> for ToolResolution
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 ToolResolution
Source§impl Hash for ToolResolution
impl Hash for ToolResolution
Source§impl JsonSchema for ToolResolution
impl JsonSchema for ToolResolution
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ToolResolution
impl PartialEq for ToolResolution
Source§impl Serialize for ToolResolution
impl Serialize for ToolResolution
impl StructuralPartialEq for ToolResolution
Auto Trait Implementations§
impl Forget for ToolResolution
impl Freeze for ToolResolution
impl RefUnwindSafe for ToolResolution
impl Send for ToolResolution
impl Sync for ToolResolution
impl Unpin for ToolResolution
impl UnsafeUnpin for ToolResolution
impl UnwindSafe for ToolResolution
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