pub struct ListTasksParams {
pub context_id: Option<String>,
pub status: Option<TaskState>,
pub page_size: Option<u32>,
pub page_token: Option<String>,
pub history_length: Option<u32>,
pub last_updated_after: Option<String>,
pub include_artifacts: Option<bool>,
pub metadata: Option<Value>,
}Expand description
Parameters for tasks/list method
Fields§
§context_id: Option<String>Filter by context ID
status: Option<TaskState>Filter by status
page_size: Option<u32>Page size
page_token: Option<String>Page token for pagination
history_length: Option<u32>History length to include
last_updated_after: Option<String>Filter by last updated timestamp
include_artifacts: Option<bool>Include artifacts in response
metadata: Option<Value>Filter by metadata
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
Source§impl<'de> Deserialize<'de> for ListTasksParams
impl<'de> Deserialize<'de> for ListTasksParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. 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