pub struct AgentTaskCreateArgs {
pub task_id: Option<String>,
pub title: String,
pub body: Option<String>,
pub thread: String,
pub base_state: Option<String>,
pub base_root: Option<String>,
pub parent_task_id: Option<String>,
pub coordination_discussion_id: Option<String>,
pub allow_offline: bool,
pub delegated_by: Option<String>,
}Expand description
Arguments for agent task create.
Fields§
§task_id: Option<String>Optional caller-provided task id (default: generated task UUIDv7 id).
title: StringHuman-readable task title.
body: Option<String>Detailed task body.
thread: StringThread this task targets.
base_state: Option<String>Optional base state id this task was delegated from.
base_root: Option<String>Optional base root id this task was delegated from.
parent_task_id: Option<String>Optional parent task id.
coordination_discussion_id: Option<String>Optional coordination discussion id.
allow_offline: boolAllow this task to continue without hosted connectivity.
delegated_by: Option<String>Principal or agent that delegated this task.
Trait Implementations§
Source§impl Args for AgentTaskCreateArgs
impl Args for AgentTaskCreateArgs
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 AgentTaskCreateArgs
impl Clone for AgentTaskCreateArgs
Source§fn clone(&self) -> AgentTaskCreateArgs
fn clone(&self) -> AgentTaskCreateArgs
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 AgentTaskCreateArgs
impl Debug for AgentTaskCreateArgs
Source§impl FromArgMatches for AgentTaskCreateArgs
impl FromArgMatches for AgentTaskCreateArgs
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 AgentTaskCreateArgs
impl RefUnwindSafe for AgentTaskCreateArgs
impl Send for AgentTaskCreateArgs
impl Sync for AgentTaskCreateArgs
impl Unpin for AgentTaskCreateArgs
impl UnsafeUnpin for AgentTaskCreateArgs
impl UnwindSafe for AgentTaskCreateArgs
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request