pub struct MemoryQuery {
pub harness: String,
pub profile: Option<String>,
pub session: Option<String>,
pub full: bool,
pub cwd: Option<PathBuf>,
pub homes: HarnessHomes,
}Expand description
harness.v1.memory.show request.
Fields§
§harness: StringHarness whose store is read. Required — memory documents are the user’s own prose, so nothing is read without an explicit target.
profile: Option<String>Hermes profile, OpenClaw agent id, or Claude Code project directory
(its slug, or an absolute path to a memory directory). None reads
every store the harness has.
session: Option<String>A Claude Code session id, used to resolve which project directory’s auto-memory to read. Rejected for the other harnesses, whose stores are profile-scoped rather than session-scoped.
full: boolInclude each document’s whole text. Off by default: show names the
documents and previews their heads.
cwd: Option<PathBuf>Working tree whose project store is read (Claude Code). Defaults to the process working directory.
homes: HarnessHomesStorage roots to read.
Trait Implementations§
Source§impl Clone for MemoryQuery
impl Clone for MemoryQuery
Source§fn clone(&self) -> MemoryQuery
fn clone(&self) -> MemoryQuery
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 MemoryQuery
impl Debug for MemoryQuery
Source§impl Default for MemoryQuery
impl Default for MemoryQuery
Source§fn default() -> MemoryQuery
fn default() -> MemoryQuery
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MemoryQuerywhere
MemoryQuery: Default,
impl<'de> Deserialize<'de> for MemoryQuerywhere
MemoryQuery: Default,
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<MemoryQuery, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<MemoryQuery, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for MemoryQuery
Source§impl PartialEq for MemoryQuery
impl PartialEq for MemoryQuery
Source§impl Serialize for MemoryQuery
impl Serialize for MemoryQuery
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for MemoryQuery
Auto Trait Implementations§
impl Freeze for MemoryQuery
impl RefUnwindSafe for MemoryQuery
impl Send for MemoryQuery
impl Sync for MemoryQuery
impl Unpin for MemoryQuery
impl UnsafeUnpin for MemoryQuery
impl UnwindSafe for MemoryQuery
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§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.