pub struct QueryHistoryRequest {
pub agent_id: AgentId,
pub subject: String,
pub predicate: String,
}Expand description
Request to retrieve the full history timeline for a (subject, predicate) subject-line.
Returns all claims ever written to the line, ordered by the canonical ordering key
(valid_time_start when confidence ≥ threshold, else tx_time). Each entry is tagged
Current or Superseded based on the same canonical fold that powers query_memory.
Fields§
§agent_id: AgentIdThe agent whose history is queried.
subject: StringThe subject of the history query.
predicate: StringThe predicate of the history query.
Trait Implementations§
Source§impl Clone for QueryHistoryRequest
impl Clone for QueryHistoryRequest
Source§fn clone(&self) -> QueryHistoryRequest
fn clone(&self) -> QueryHistoryRequest
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 QueryHistoryRequest
impl Debug for QueryHistoryRequest
Source§impl<'de> Deserialize<'de> for QueryHistoryRequest
impl<'de> Deserialize<'de> for QueryHistoryRequest
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 QueryHistoryRequest
impl RefUnwindSafe for QueryHistoryRequest
impl Send for QueryHistoryRequest
impl Sync for QueryHistoryRequest
impl Unpin for QueryHistoryRequest
impl UnsafeUnpin for QueryHistoryRequest
impl UnwindSafe for QueryHistoryRequest
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