pub struct RoutingDisclosure {
pub transmitted_bytes: usize,
pub transmitted_chars: usize,
pub original_chars: usize,
pub truncated: bool,
pub content_hash: String,
pub redacted: bool,
pub redactions: Vec<String>,
pub scope: String,
pub task_shape: String,
pub cross_provider_inference: bool,
}Expand description
Everything a durable record may say about what was sent to a Router.
Note what is absent: the text. A receipt states how much left, whether it was cut, what it hashes to, what redaction removed, and whether it crossed a provider boundary — never the content itself.
Fields§
§transmitted_bytes: usizeBytes actually transmitted.
transmitted_chars: usizeCharacters actually transmitted.
original_chars: usizeCharacters the sanitized, redacted text had before truncation.
truncated: boolWhether the text was cut to fit ROUTER_SUMMARY_MAX_CHARS.
content_hash: Stringsha256:<hex> over the exact transmitted bytes. Stable, and reveals
nothing about the content.
redacted: boolWhether redaction removed anything.
redactions: Vec<String>Which classes of content redaction removed — never the content.
scope: StringWhat class of content was in scope to send at all.
task_shape: StringThe coarse task shape that was included.
cross_provider_inference: boolWhether this summary went to a provider other than the worker’s.
Implementations§
Trait Implementations§
Source§impl Clone for RoutingDisclosure
impl Clone for RoutingDisclosure
Source§fn clone(&self) -> RoutingDisclosure
fn clone(&self) -> RoutingDisclosure
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more