pub struct Args {
pub agent_instance: Option<String>,
pub parent_agent_instance_hierarchy: Option<String>,
pub message: MessageArgs,
pub agent_tag: Option<String>,
pub dangerous_advanced: Option<String>,
pub enqueue: bool,
pub enqueue_with_key: Option<String>,
pub jq: Option<String>,
}Fields§
§agent_instance: Option<String>Leaf id of the target agent. Combined with --parent (or
the cli’s own Config.agent_instance_hierarchy when
--parent is omitted) to form the full lineage. Mutually
exclusive with --agent-tag.
parent_agent_instance_hierarchy: Option<String>Optional lineage prefix to prepend to agent_instance.
When omitted, the cli substitutes its own
Config.agent_instance_hierarchy. Only valid alongside a
positional agent_instance.
message: MessageArgs§agent_tag: Option<String>Tag name to enqueue against. Stored verbatim — the cli does
NOT resolve the tag at enqueue time. Mutually exclusive with
--agent-instance.
dangerous_advanced: Option<String>Raw JSON for RequestDangerousAdvanced (e.g.
{"stream":true,"seed":42}).
enqueue: boolPersist the message into the queue against the target and
return immediately. No tag lookup, no delivery race, no
spawn-takeover. Mutually exclusive with
--enqueue-with-key.
enqueue_with_key: Option<String>Persist with an idempotency key — existing queue rows
scoped to the same target + key are deleted before insert.
Mutually exclusive with --enqueue.
jq: Option<String>jq filter applied to the JSON output.
Trait Implementations§
Source§impl Args for Args
impl Args for Args
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 Args
impl FromArgMatches for Args
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 Args
impl RefUnwindSafe for Args
impl Send for Args
impl Sync for Args
impl Unpin for Args
impl UnsafeUnpin for Args
impl UnwindSafe for Args
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
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