pub struct RemoteReplayTrace {
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 “ReplayTrace + hope” semantics
Trait Implementations§
Source§impl Clone for RemoteReplayTrace
impl Clone for RemoteReplayTrace
Source§fn clone(&self) -> RemoteReplayTrace
fn clone(&self) -> RemoteReplayTrace
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 RemoteReplayTrace
impl Debug for RemoteReplayTrace
Source§impl<'de> Deserialize<'de> for RemoteReplayTrace
impl<'de> Deserialize<'de> for RemoteReplayTrace
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 RemoteReplayTrace
impl RefUnwindSafe for RemoteReplayTrace
impl Send for RemoteReplayTrace
impl Sync for RemoteReplayTrace
impl Unpin for RemoteReplayTrace
impl UnsafeUnpin for RemoteReplayTrace
impl UnwindSafe for RemoteReplayTrace
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