Struct Tool Schema Hash

View as Markdown

Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.

pub struct ToolSchemaHash {
    pub tool_name: String,
    pub schema_hash: String,
}

Hash fingerprint of a tool schema definition.

Used to detect when the active toolset changes across requests, which invalidates tool-schema blocks in the cache.

Fields

tool_name: String

Name of the tool.

schema_hash: String

Hash of the tool’s JSON Schema definition.

Trait Implementations

impl Clone for ToolSchemaHash

impl Clone for ToolSchemaHash

clone

fn clone(&self) -> ToolSchemaHash

clone_from

fn clone_from(&mut self, source: &Self)

impl Debug for ToolSchemaHash

impl Debug for ToolSchemaHash

fmt

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl<'de> Deserialize<'de> for ToolSchemaHash

impl<'de> Deserialize<'de> for ToolSchemaHash

deserialize

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,

impl Hash for ToolSchemaHash

impl Hash for ToolSchemaHash

hash

fn hash<__H: Hasher>(&self, state: &mut __H)

hash_slice

fn hash_slice<H>(data: &[Self], state: &mut H)where
    H: Hasher,
    Self: Sized,

impl PartialEq for ToolSchemaHash

impl PartialEq for ToolSchemaHash

eq

fn eq(&self, other: &ToolSchemaHash) -> bool

ne

fn ne(&self, other: &Rhs) -> bool

impl Serialize for ToolSchemaHash

impl Serialize for ToolSchemaHash

serialize

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
    __S: Serializer,

impl Eq for ToolSchemaHash

impl Eq for ToolSchemaHash

impl StructuralPartialEq for ToolSchemaHash

impl StructuralPartialEq for ToolSchemaHash