MCPcopy Create free account
hub / github.com/LEXUGE/dcompass / QueryContext

Class QueryContext

droute/src/router/script/mod.rs:153–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151#[derive(Clone)]
152#[cfg_attr(feature = "rune-scripting", derive(rune::Any))]
153pub struct QueryContext {
154 /// Query sender's IP address
155 pub ip: IpAddr,
156}
157
158/// A script backend routes every message with query context and the query itself.
159#[async_trait]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected