pub struct ListTasksRequest {
pub after: Option<String>,
pub limit: Option<u16>,
pub name: Option<String>,
pub org: Option<String>,
pub org_id: Option<String>,
pub status: Option<String>,
pub type_: Option<TaskStatusType>,
pub user: Option<String>,
}Expand description
Request for list tasks api
Fields§
§after: Option<String>Return tasks after a specified task ID.
limit: Option<u16>The number of tasks to return. Default: 100. Valid values [1..500].
name: Option<String>Filter tasks to a specified name.
org: Option<String>Filter tasks to a specific organization name.
org_id: Option<String>Filter tasks to a specific organization ID.
status: Option<String>Filter tasks by status, either “inactive” or “active”.
type_: Option<TaskStatusType>Filter task by type. Default: “”. Valid values: [“basic”, “system”].
user: Option<String>Filter tasks to a specific user ID.
Trait Implementations§
Source§impl Clone for ListTasksRequest
impl Clone for ListTasksRequest
Source§fn clone(&self) -> ListTasksRequest
fn clone(&self) -> ListTasksRequest
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 ListTasksRequest
impl Debug for ListTasksRequest
Source§impl Default for ListTasksRequest
impl Default for ListTasksRequest
Source§fn default() -> ListTasksRequest
fn default() -> ListTasksRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ListTasksRequest
impl<'de> Deserialize<'de> for ListTasksRequest
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
Source§impl PartialEq for ListTasksRequest
impl PartialEq for ListTasksRequest
Source§impl Serialize for ListTasksRequest
impl Serialize for ListTasksRequest
impl StructuralPartialEq for ListTasksRequest
Auto Trait Implementations§
impl Freeze for ListTasksRequest
impl RefUnwindSafe for ListTasksRequest
impl Send for ListTasksRequest
impl Sync for ListTasksRequest
impl Unpin for ListTasksRequest
impl UnsafeUnpin for ListTasksRequest
impl UnwindSafe for ListTasksRequest
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