Struct Prediction Trie Node
Generated from cargo doc --no-deps -p nemo-relay-builtins -p nemo-relay-diagnostics -p nemo-relay-logging -p nemo-relay-plugin-host -p nemo-relay-codecs -p nemo-relay -p nemo-relay-runtime -p nemo-relay-model-pricing -p nemo-relay-resource-metrics -p nemo-relay-observability -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.
Referenced types: String, HashMap, PredictionTrieNode, u32, LlmCallPrediction, Option
A node in the prediction trie representing a function in the call hierarchy.
Fields
name: String
Function name at this level in the hierarchy.
children: HashMap<String, PredictionTrieNode>
Child nodes keyed by function name.
predictions_by_call_index: HashMap<u32, LlmCallPrediction>
Predictions keyed by call index (1-indexed).
predictions_any_index: Option<LlmCallPrediction>
Fallback predictions aggregated across all call indices.
Implementations
impl PredictionTrieNode
Referenced types: PredictionTrieNode
new
Referenced types: Into, String
Creates a new leaf node with the given name and no children or predictions.
Trait Implementations
impl Clone for PredictionTrieNode
Referenced types: Clone, PredictionTrieNode
clone
Referenced types: clone, PredictionTrieNode
clone_from
Referenced types: clone_from
impl Debug for PredictionTrieNode
Referenced types: Debug, PredictionTrieNode
fmt
Referenced types: fmt, Formatter, Result
impl<'de> Deserialize<'de> for PredictionTrieNode
Referenced types: Deserialize, PredictionTrieNode
deserialize
Referenced types: deserialize, Result, Error, Deserializer
impl Serialize for PredictionTrieNode
Referenced types: Serialize, PredictionTrieNode
serialize
Referenced types: serialize, Result, Ok, Error, Serializer