pub struct ListTasksParams {
pub context_id: Option<String>,
pub state: Option<TaskState>,
pub page_size: Option<u32>,
pub page_token: Option<String>,
pub history_length: Option<u32>,
pub status_timestamp_after: Option<String>,
pub include_artifacts: Option<bool>,
}Available on crate features
a2a-v1 and server only.Expand description
Parameters for listing tasks with optional filtering and pagination.
Fields§
§context_id: Option<String>Filter by conversation context ID.
state: Option<TaskState>Filter by task state.
page_size: Option<u32>Maximum number of tasks to return.
page_token: Option<String>Opaque cursor for pagination.
history_length: Option<u32>Maximum number of history messages to include per task.
status_timestamp_after: Option<String>Filter tasks with status timestamp after this ISO 8601 value.
include_artifacts: Option<bool>Whether to include artifacts in the response.
Trait Implementations§
Source§impl Clone for ListTasksParams
impl Clone for ListTasksParams
Source§fn clone(&self) -> ListTasksParams
fn clone(&self) -> ListTasksParams
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 ListTasksParams
impl Debug for ListTasksParams
Source§impl Default for ListTasksParams
impl Default for ListTasksParams
Source§fn default() -> ListTasksParams
fn default() -> ListTasksParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ListTasksParams
impl RefUnwindSafe for ListTasksParams
impl Send for ListTasksParams
impl Sync for ListTasksParams
impl Unpin for ListTasksParams
impl UnsafeUnpin for ListTasksParams
impl UnwindSafe for ListTasksParams
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