#[non_exhaustive]pub struct RecallOptions {
pub project: Option<String>,
pub hint: Option<String>,
pub node_types: Vec<String>,
pub tags_any: Vec<String>,
pub since: Option<String>,
pub limit: usize,
pub touch: bool,
}Expand description
Structured recall options.
#[non_exhaustive] + Default lets callers add filters without breaking
struct-literal construction. tags_any is the intended symbol-scoped path:
TradingAgentOS stores the symbol as a tag on every node.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.project: Option<String>Project scope.
hint: Option<String>Free-text hint (lexical match). None/empty ⇒ pure structural recall.
node_types: Vec<String>Restrict to these node types (e.g. ["decision"]).
Match any of these tags (OR). Use for symbol-scoped recall.
since: Option<String>created >= (ISO8601).
limit: usizeResult cap.
touch: boolWhether to increment access_count on retrieved nodes.
Defaults to false (via #[derive(Default)]). The legacy
constructor sets this to true for backward compatibility with the old
smart_recall(project, hint, limit) signature. New callers building
RecallOptions directly get read-only recall by default — pass true
explicitly to opt into mutation.
Implementations§
Trait Implementations§
Source§impl Clone for RecallOptions
impl Clone for RecallOptions
Source§fn clone(&self) -> RecallOptions
fn clone(&self) -> RecallOptions
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for RecallOptions
impl Debug for RecallOptions
Source§impl Default for RecallOptions
impl Default for RecallOptions
Source§fn default() -> RecallOptions
fn default() -> RecallOptions
Auto Trait Implementations§
impl Freeze for RecallOptions
impl RefUnwindSafe for RecallOptions
impl Send for RecallOptions
impl Sync for RecallOptions
impl Unpin for RecallOptions
impl UnsafeUnpin for RecallOptions
impl UnwindSafe for RecallOptions
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
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> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::RequestSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
ReadEndian::read_from_little_endian().Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.