pub struct RetrievalEvent {
pub timestamp_ms: i64,
pub agent_name: String,
pub query: Option<String>,
pub page_titles: Vec<String>,
pub page_ids: Vec<String>,
pub memory_snippets: Vec<String>,
}Expand description
An event describing when an agent retrieved pages/memories from Wenlan.
Backs Zone 4 of the home page (“Where Claude leaned on you”) — a proof surface showing which pages were pulled into an agent’s context and when, giving the user evidence their curated knowledge is in use.
Fields§
§timestamp_ms: i64§agent_name: String§query: Option<String>§page_titles: Vec<String>§page_ids: Vec<String>Stable page IDs corresponding 1:1 with page_titles.
Used by the UI to navigate directly by ID rather than doing a
fragile title lookup. Empty on legacy events recorded before this
field was added; the UI falls back to the title-match path in that case.
memory_snippets: Vec<String>Trait Implementations§
Source§impl Clone for RetrievalEvent
impl Clone for RetrievalEvent
Source§fn clone(&self) -> RetrievalEvent
fn clone(&self) -> RetrievalEvent
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 RetrievalEvent
impl Debug for RetrievalEvent
Source§impl<'de> Deserialize<'de> for RetrievalEvent
impl<'de> Deserialize<'de> for RetrievalEvent
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
Source§impl PartialEq for RetrievalEvent
impl PartialEq for RetrievalEvent
Source§impl Serialize for RetrievalEvent
impl Serialize for RetrievalEvent
impl StructuralPartialEq for RetrievalEvent
Auto Trait Implementations§
impl Freeze for RetrievalEvent
impl RefUnwindSafe for RetrievalEvent
impl Send for RetrievalEvent
impl Sync for RetrievalEvent
impl Unpin for RetrievalEvent
impl UnsafeUnpin for RetrievalEvent
impl UnwindSafe for RetrievalEvent
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