pub struct RecallRequest {Show 17 fields
pub cue_text: String,
pub subject_name: String,
pub max_results: u32,
pub confidence_threshold: f32,
pub session_filter: Option<Vec<WireSessionId>>,
pub age_bound_unix_nanos: Option<u64>,
pub as_of_record_time_unix_nanos: Option<u64>,
pub kind_filter: Option<Vec<MemoryKindWire>>,
pub salience_floor: f32,
pub include_edges: bool,
pub include_graph: bool,
pub include_text: bool,
pub request_id: Option<WireUuid>,
pub txn_id: Option<WireUuid>,
pub trace: bool,
pub act_as: Option<ActAs>,
pub scope: RecallScopeWire,
}Expand description
RECALL (0x0021).
Fields§
§cue_text: String§subject_name: String§max_results: u32§confidence_threshold: f32§session_filter: Option<Vec<WireSessionId>>§age_bound_unix_nanos: Option<u64>§as_of_record_time_unix_nanos: Option<u64>§kind_filter: Option<Vec<MemoryKindWire>>§salience_floor: f32§include_edges: bool§include_graph: bool§include_text: bool§request_id: Option<WireUuid>§txn_id: Option<WireUuid>§trace: boolOpt-in per-stage observability. When true, the final response frame
carries a populated trace: RecallTrace; when false (the default)
the field is absent and the read pays nothing.
act_as: Option<ActAs>Effective identity this recall runs as. None (omitted on the wire)
means the op runs as the connection’s own key-bound identity.
scope: RecallScopeWireRecall scope: the caller’s single space (default) or every space in its
namespace. Always serialized, exactly as the server does (#[serde(default)],
no skip) — a plain recall carries scope: "Space".
Trait Implementations§
Source§impl Clone for RecallRequest
impl Clone for RecallRequest
Source§impl Debug for RecallRequest
impl Debug for RecallRequest
Source§impl<'de> Deserialize<'de> for RecallRequest
impl<'de> Deserialize<'de> for RecallRequest
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
Source§impl PartialEq for RecallRequest
impl PartialEq for RecallRequest
Source§impl Serialize for RecallRequest
impl Serialize for RecallRequest
impl StructuralPartialEq for RecallRequest
Auto Trait Implementations§
impl Freeze for RecallRequest
impl RefUnwindSafe for RecallRequest
impl Send for RecallRequest
impl Sync for RecallRequest
impl Unpin for RecallRequest
impl UnsafeUnpin for RecallRequest
impl UnwindSafe for RecallRequest
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