pub struct EditArgs {Show 13 fields
pub name_positional: Option<String>,
pub name: Option<String>,
pub body: Option<String>,
pub body_file: Option<PathBuf>,
pub body_stdin: bool,
pub description: Option<String>,
pub memory_type: Option<MemoryType>,
pub expected_updated_at: Option<i64>,
pub namespace: Option<String>,
pub json: bool,
pub db: Option<String>,
pub force_reembed: bool,
pub llm_parallelism: u64,
}Fields§
§name_positional: Option<String>Memory name as a positional argument. Alternative to --name.
name: Option<String>Memory name to edit. Soft-deleted memories are not editable; use restore first.
body: Option<String>New inline body content. Mutually exclusive with –body-file and –body-stdin.
body_file: Option<PathBuf>Read new body from a file. Mutually exclusive with –body and –body-stdin.
body_stdin: boolRead new body from stdin until EOF. Mutually exclusive with –body and –body-file.
description: Option<String>New description (≤500 chars) replacing the existing one.
memory_type: Option<MemoryType>Change the memory type (e.g. note, skill, decision).
expected_updated_at: Option<i64>§namespace: Option<String>§json: bool§db: Option<String>§force_reembed: boolG42/S9 (v1.0.79): regenerate the embedding even when the body is
unchanged. This is the supported way to re-embed a memory (the
pre-v1.0.79 docs suggested edit --description "<same>", which
is a no-op and never re-embeds).
llm_parallelism: u64G42/S3 (v1.0.79): maximum simultaneous LLM embedding subprocesses. Only relevant for future multi-item edit paths; a single-body edit performs one LLM call regardless.
Trait Implementations§
Source§impl Args for EditArgs
impl Args for EditArgs
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
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl FromArgMatches for EditArgs
impl FromArgMatches for EditArgs
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>
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>
ArgMatches to self.Auto Trait Implementations§
impl Freeze for EditArgs
impl RefUnwindSafe for EditArgs
impl Send for EditArgs
impl Sync for EditArgs
impl Unpin for EditArgs
impl UnsafeUnpin for EditArgs
impl UnwindSafe for EditArgs
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<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 more