pub struct RemoteTraceLink {
pub provider_name: String,
pub provider_model_id: String,
pub request_fingerprint: String,
pub response_fingerprint: String,
pub temperature: f32,
pub top_p: f32,
pub max_tokens: usize,
pub provider_metadata: HashMap<String, String>,
pub retried: bool,
pub retry_reasons: Vec<String>,
pub replayability: Replayability,
}Expand description
Remote trace link — audit-eligible only.
Contains enough info to audit but NOT replay deterministically. This explicitly acknowledges the bounded stochasticity of remote providers.
Fields§
§provider_name: StringProvider name (e.g., “anthropic”, “openai”)
provider_model_id: StringModel ID as returned by provider
request_fingerprint: StringHash of canonicalized request
response_fingerprint: StringHash of response payload
temperature: f32Temperature used
top_p: f32Top-p used
max_tokens: usizeMax tokens requested
provider_metadata: HashMap<String, String>Provider-specific metadata (e.g., system_fingerprint)
retried: boolWhether this was retried
retry_reasons: Vec<String>Retry reasons (if retried)
replayability: ReplayabilityExplicit replayability flag — prevents “TraceLink + hope” semantics
Trait Implementations§
Source§impl Clone for RemoteTraceLink
impl Clone for RemoteTraceLink
Source§fn clone(&self) -> RemoteTraceLink
fn clone(&self) -> RemoteTraceLink
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RemoteTraceLink
impl Debug for RemoteTraceLink
Source§impl<'de> Deserialize<'de> for RemoteTraceLink
impl<'de> Deserialize<'de> for RemoteTraceLink
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RemoteTraceLink
impl RefUnwindSafe for RemoteTraceLink
impl Send for RemoteTraceLink
impl Sync for RemoteTraceLink
impl Unpin for RemoteTraceLink
impl UnwindSafe for RemoteTraceLink
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more