pub struct ListTasksParams {
pub status: Option<TaskStatus>,
pub cursor: Option<String>,
}Expand description
Parameters for listing tasks
Fields§
§status: Option<TaskStatus>Filter by status (optional)
cursor: Option<String>Pagination cursor
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 · 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 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