pub struct FleetResolvedRoute {
pub provider_id: String,
pub provider_kind: String,
pub canonical_model: Option<String>,
pub wire_model_id: String,
pub protocol: String,
pub role: Option<String>,
pub loadout: Option<String>,
pub source: String,
}Expand description
Resolved-route detail persisted on a FleetReceipt (#3154).
This is an additive, plain-strings snapshot of the route a fleet worker
resolved to. It deliberately does NOT depend on any codewhale-config route
type so the protocol crate stays free of the route model.
CRITICAL no-secrets invariant: this struct carries ONLY non-sensitive route shape — provider id/kind, model ids, wire protocol, role/loadout intent, and the resolution source. It must NEVER hold a credential, API key, bearer token, or a base URL that embeds credentials. There is intentionally no field that could carry a secret.
Fields§
§provider_id: StringResolved provider canonical id (e.g. "deepseek").
provider_kind: StringResolved provider kind (e.g. "deepseek").
canonical_model: Option<String>Canonical, provider-agnostic model identity, when known.
wire_model_id: StringProvider-owned wire model id placed on the request.
protocol: StringSelected wire protocol (e.g. "chat_completions").
role: Option<String>Effective Fleet role intent, when one applied.
loadout: Option<String>Effective Fleet loadout intent, when one applied.
source: StringHow the route was produced (e.g. "resolver").
Trait Implementations§
Source§impl Clone for FleetResolvedRoute
impl Clone for FleetResolvedRoute
Source§fn clone(&self) -> FleetResolvedRoute
fn clone(&self) -> FleetResolvedRoute
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for FleetResolvedRoute
impl Debug for FleetResolvedRoute
Source§impl<'de> Deserialize<'de> for FleetResolvedRoute
impl<'de> Deserialize<'de> for FleetResolvedRoute
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for FleetResolvedRoute
Source§impl PartialEq for FleetResolvedRoute
impl PartialEq for FleetResolvedRoute
Source§fn eq(&self, other: &FleetResolvedRoute) -> bool
fn eq(&self, other: &FleetResolvedRoute) -> bool
self and other values to be equal, and is used by ==.