pub struct StoreArgs {
pub tier: String,
pub namespace: Option<String>,
pub title: String,
pub content: String,
pub tags: String,
pub priority: i32,
pub confidence: f64,
pub source: String,
pub expires_at: Option<String>,
pub ttl_secs: Option<i64>,
pub scope: Option<String>,
}Expand description
Clap-derived arg shape for the store subcommand. Definition moved
from main.rs verbatim in W5a — fields and attrs unchanged.
Fields§
§tier: String§namespace: Option<String>§title: String§content: StringContent (use - to read from stdin)
priority: i32§confidence: f64Confidence 0.0-1.0
source: StringSource: user, claude, hook, api
expires_at: Option<String>Explicit expiry timestamp (RFC3339). Overrides tier default.
ttl_secs: Option<i64>TTL in seconds. Overrides tier default.
scope: Option<String>Task 1.5 visibility scope: private (default) / team / unit / org / collective.
Stored as metadata.scope; affects which agents can recall this memory
when queries use --as-agent.
Trait Implementations§
Source§impl Args for StoreArgs
impl Args for StoreArgs
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 FromArgMatches for StoreArgs
impl FromArgMatches for StoreArgs
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 StoreArgs
impl RefUnwindSafe for StoreArgs
impl Send for StoreArgs
impl Sync for StoreArgs
impl Unpin for StoreArgs
impl UnsafeUnpin for StoreArgs
impl UnwindSafe for StoreArgs
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> 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