pub struct ProxyExchangeLog {
pub method: String,
pub path: String,
pub request_model: Option<String>,
pub request_tools: Vec<String>,
pub status: u16,
pub response_model: Option<String>,
pub response_tool_calls: Vec<ProxyToolCallLog>,
pub response_content_preview: String,
pub request_body: Option<String>,
pub response_body: Option<String>,
}Expand description
One JSONL row describing a proxied request/response exchange.
Fields§
§method: String§path: String§request_model: Option<String>§request_tools: Vec<String>§status: u16§response_model: Option<String>§response_tool_calls: Vec<ProxyToolCallLog>§response_content_preview: String§request_body: Option<String>§response_body: Option<String>Trait Implementations§
Source§impl Clone for ProxyExchangeLog
impl Clone for ProxyExchangeLog
Source§fn clone(&self) -> ProxyExchangeLog
fn clone(&self) -> ProxyExchangeLog
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProxyExchangeLog
impl Debug for ProxyExchangeLog
Source§impl<'de> Deserialize<'de> for ProxyExchangeLog
impl<'de> Deserialize<'de> for ProxyExchangeLog
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
impl Eq for ProxyExchangeLog
Source§impl PartialEq for ProxyExchangeLog
impl PartialEq for ProxyExchangeLog
Source§impl Serialize for ProxyExchangeLog
impl Serialize for ProxyExchangeLog
impl StructuralPartialEq for ProxyExchangeLog
Auto Trait Implementations§
impl Freeze for ProxyExchangeLog
impl RefUnwindSafe for ProxyExchangeLog
impl Send for ProxyExchangeLog
impl Sync for ProxyExchangeLog
impl Unpin for ProxyExchangeLog
impl UnsafeUnpin for ProxyExchangeLog
impl UnwindSafe for ProxyExchangeLog
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.