pub struct ReflectArgs {
pub source_ids: Vec<String>,
pub title: String,
pub content: String,
pub tier: Option<String>,
pub namespace: Option<String>,
pub priority: Option<i64>,
pub confidence: Option<f64>,
pub tags: Vec<String>,
pub depth: Option<i64>,
pub agent_id: Option<String>,
pub json: bool,
}Expand description
CLI args for ai-memory reflect. Mirrors the MCP memory_reflect
input_schema shape.
Fields§
§source_ids: Vec<String>One or more source memory ids (comma-separated). Required.
title: StringReflection title.
content: StringReflection body.
tier: Option<String>Tier: short / mid / long.
namespace: Option<String>Namespace. Defaults to the source memories’ namespace.
priority: Option<i64>Priority 1..=10. Default 5.
confidence: Option<f64>Confidence 0.0..=1.0. Default 1.0.
Optional tags (comma-separated).
depth: Option<i64>Caller-asserted depth (#1325 — substrate refuses if mismatched).
agent_id: Option<String>Caller agent_id override (rare).
json: boolEmit the raw JSON envelope (the same shape MCP / HTTP return) instead of a human-readable summary.
Trait Implementations§
Source§impl Args for ReflectArgs
impl Args for ReflectArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Clone for ReflectArgs
impl Clone for ReflectArgs
Source§fn clone(&self) -> ReflectArgs
fn clone(&self) -> ReflectArgs
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 ReflectArgs
impl Debug for ReflectArgs
Source§impl FromArgMatches for ReflectArgs
impl FromArgMatches for ReflectArgs
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Auto Trait Implementations§
impl Freeze for ReflectArgs
impl RefUnwindSafe for ReflectArgs
impl Send for ReflectArgs
impl Sync for ReflectArgs
impl Unpin for ReflectArgs
impl UnsafeUnpin for ReflectArgs
impl UnwindSafe for ReflectArgs
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
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>
Converts
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>
Converts
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 more