pub struct EpisodicQuery {
pub event_type: Option<String>,
pub since_ms: Option<i64>,
pub until_ms: Option<i64>,
pub limit: Option<usize>,
}Expand description
Filter for EpisodicMemory::query. All fields are optional; an
all-None query returns every event (subject to limit).
Fields§
§event_type: Option<String>Restrict to events with this exact event_type.
since_ms: Option<i64>Restrict to events at or after this Unix epoch millisecond timestamp.
until_ms: Option<i64>Restrict to events at or before this Unix epoch millisecond timestamp.
limit: Option<usize>Maximum number of events to return, most recent first.
Implementations§
Trait Implementations§
Source§impl Clone for EpisodicQuery
impl Clone for EpisodicQuery
Source§fn clone(&self) -> EpisodicQuery
fn clone(&self) -> EpisodicQuery
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 EpisodicQuery
impl Debug for EpisodicQuery
Source§impl Default for EpisodicQuery
impl Default for EpisodicQuery
Source§fn default() -> EpisodicQuery
fn default() -> EpisodicQuery
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EpisodicQuery
impl RefUnwindSafe for EpisodicQuery
impl Send for EpisodicQuery
impl Sync for EpisodicQuery
impl Unpin for EpisodicQuery
impl UnsafeUnpin for EpisodicQuery
impl UnwindSafe for EpisodicQuery
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