pub struct ListTasksCommand {
pub context_id: Option<String>,
pub status: Option<TaskStateArg>,
pub page_size: Option<i32>,
pub page_token: Option<String>,
pub history_length: Option<i32>,
pub include_artifacts: bool,
}Fields§
§context_id: Option<String>Filter by context identifier.
status: Option<TaskStateArg>Filter by task state.
page_size: Option<i32>Requested page size.
page_token: Option<String>Page token from a previous response.
history_length: Option<i32>Ask the server to include up to this many history items per task.
include_artifacts: boolAsk the server to include artifacts in the listed tasks.
Trait Implementations§
Source§impl Args for ListTasksCommand
impl Args for ListTasksCommand
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 ListTasksCommand
impl Clone for ListTasksCommand
Source§impl Debug for ListTasksCommand
impl Debug for ListTasksCommand
impl Eq for ListTasksCommand
Source§impl FromArgMatches for ListTasksCommand
impl FromArgMatches for ListTasksCommand
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.Source§impl PartialEq for ListTasksCommand
impl PartialEq for ListTasksCommand
impl StructuralPartialEq for ListTasksCommand
Auto Trait Implementations§
impl Freeze for ListTasksCommand
impl RefUnwindSafe for ListTasksCommand
impl Send for ListTasksCommand
impl Sync for ListTasksCommand
impl Unpin for ListTasksCommand
impl UnsafeUnpin for ListTasksCommand
impl UnwindSafe for ListTasksCommand
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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