pub struct MemoryListQuery {
pub limit: Option<u32>,
pub cursor: Option<String>,
pub dir: Option<String>,
pub include_tombstoned: Option<bool>,
}Expand description
GET /v1/memories query parameters — a non-ranked, paginated enumeration
of the caller’s memories. Only the server-backed created_at axis is
exposed; ranking/filtering beyond direction + tombstone state is left to
RECALL and future filters.
Fields§
§limit: Option<u32>Page size, clamped to 1..=100 (default 50).
cursor: Option<String>Opaque keyset cursor (hex) from a previous page’s next_cursor.
dir: Option<String>desc (default, newest first) or asc.
include_tombstoned: Option<bool>Include tombstoned memories (default false).
Implementations§
Source§impl MemoryListQuery
impl MemoryListQuery
Sourcepub fn to_request(&self) -> Result<MemoryListRequest, String>
pub fn to_request(&self) -> Result<MemoryListRequest, String>
Build the wire request. Fails on a malformed cursor or dir.
Trait Implementations§
Source§impl Debug for MemoryListQuery
impl Debug for MemoryListQuery
Source§impl<'de> Deserialize<'de> for MemoryListQuery
impl<'de> Deserialize<'de> for MemoryListQuery
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 MemoryListQuery
impl RefUnwindSafe for MemoryListQuery
impl Send for MemoryListQuery
impl Sync for MemoryListQuery
impl Unpin for MemoryListQuery
impl UnsafeUnpin for MemoryListQuery
impl UnwindSafe for MemoryListQuery
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