pub struct MemoryQuery {
pub content_contains: Option<String>,
pub tag_prefix: Option<String>,
pub since_ms: Option<u64>,
pub until_ms: Option<u64>,
pub limit: Option<usize>,
}Fields§
§content_contains: Option<String>Optional substring match against content (case-insensitive).
tag_prefix: Option<String>Optional tag prefix; record matches if ANY of its tags has this prefix.
since_ms: Option<u64>Inclusive lower bound on timestamp_ms.
until_ms: Option<u64>Inclusive upper bound on timestamp_ms.
limit: Option<usize>Maximum number of records to return (most recent first). Default: 50.
Trait Implementations§
Source§impl Clone for MemoryQuery
impl Clone for MemoryQuery
Source§impl Debug for MemoryQuery
impl Debug 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