Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.
pub struct PredictionTrieNode {
pub name: String,
pub children: HashMap<String, PredictionTrieNode>,
pub predictions_by_call_index: HashMap<u32, LlmCallPrediction>,
pub predictions_any_index: Option<LlmCallPrediction>,
}
A node in the prediction trie representing a function in the call hierarchy.
name: StringFunction 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.
impl PredictionTrieNodeimpl PredictionTrieNode
newpub fn new(name: impl Into<String>) -> Self
Creates a new leaf node with the given name and no children or predictions.
impl Clone for PredictionTrieNodeimpl Clone for PredictionTrieNode
clonefn clone(&self) -> PredictionTrieNode
clone_fromfn clone_from(&mut self, source: &Self)
impl Debug for PredictionTrieNodeimpl Debug for PredictionTrieNode
fmtfn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<'de> Deserialize<'de> for PredictionTrieNodeimpl<'de> Deserialize<'de> for PredictionTrieNode
deserializefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Serialize for PredictionTrieNodeimpl Serialize for PredictionTrieNode
serializefn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
__S: Serializer,