pub struct AgentTaskUpdateArgs {
pub task_id: String,
pub title: Option<String>,
pub body: Option<String>,
pub status: Option<AgentTaskStatusArg>,
pub thread: Option<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 no_allow_offline: bool,
pub delegated_by: Option<String>,
}Expand description
Arguments for agent task update.
Fields§
§task_id: StringTask id to update.
title: Option<String>Replace the task title.
body: Option<String>Replace the task body.
status: Option<AgentTaskStatusArg>Replace the task status.
thread: Option<String>Replace the target thread.
base_state: Option<String>Replace the base state id.
base_root: Option<String>Replace the base root id.
parent_task_id: Option<String>Replace the parent task id.
coordination_discussion_id: Option<String>Replace the coordination discussion id.
allow_offline: boolAllow this task to continue without hosted connectivity.
no_allow_offline: boolDisallow offline continuation for this task.
delegated_by: Option<String>Replace the delegating principal or agent label.
Trait Implementations§
Source§impl Args for AgentTaskUpdateArgs
impl Args for AgentTaskUpdateArgs
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 AgentTaskUpdateArgs
impl Clone for AgentTaskUpdateArgs
Source§fn clone(&self) -> AgentTaskUpdateArgs
fn clone(&self) -> AgentTaskUpdateArgs
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 AgentTaskUpdateArgs
impl Debug for AgentTaskUpdateArgs
Source§impl FromArgMatches for AgentTaskUpdateArgs
impl FromArgMatches for AgentTaskUpdateArgs
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 AgentTaskUpdateArgs
impl RefUnwindSafe for AgentTaskUpdateArgs
impl Send for AgentTaskUpdateArgs
impl Sync for AgentTaskUpdateArgs
impl Unpin for AgentTaskUpdateArgs
impl UnsafeUnpin for AgentTaskUpdateArgs
impl UnwindSafe for AgentTaskUpdateArgs
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