pub struct WorkflowTaskListQuery {
pub tasklist_guid: Option<String>,
pub section_guid: Option<String>,
pub filter: Option<String>,
pub sort: Option<Value>,
pub user_type: Option<String>,
pub page_size: Option<i32>,
}Expand description
任务列表查询 helper。
用于封装常见的任务列表过滤条件,并让 helper 统一处理分页。
Fields§
§tasklist_guid: Option<String>任务清单 GUID。
section_guid: Option<String>分组 GUID。
filter: Option<String>过滤条件。
sort: Option<Value>排序条件。
user_type: Option<String>用户 ID 类型。
page_size: Option<i32>分页大小。
Implementations§
Source§impl WorkflowTaskListQuery
impl WorkflowTaskListQuery
Sourcepub fn for_tasklist(tasklist_guid: impl Into<String>) -> Self
pub fn for_tasklist(tasklist_guid: impl Into<String>) -> Self
为指定任务清单创建查询条件。
Sourcepub fn section_guid(self, section_guid: impl Into<String>) -> Self
pub fn section_guid(self, section_guid: impl Into<String>) -> Self
设置分组 GUID。
Trait Implementations§
Source§impl Clone for WorkflowTaskListQuery
impl Clone for WorkflowTaskListQuery
Source§fn clone(&self) -> WorkflowTaskListQuery
fn clone(&self) -> WorkflowTaskListQuery
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 WorkflowTaskListQuery
impl Debug for WorkflowTaskListQuery
Source§impl Default for WorkflowTaskListQuery
impl Default for WorkflowTaskListQuery
Source§fn default() -> WorkflowTaskListQuery
fn default() -> WorkflowTaskListQuery
Returns the “default value” for a type. Read more
Source§impl PartialEq for WorkflowTaskListQuery
impl PartialEq for WorkflowTaskListQuery
Source§fn eq(&self, other: &WorkflowTaskListQuery) -> bool
fn eq(&self, other: &WorkflowTaskListQuery) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WorkflowTaskListQuery
Auto Trait Implementations§
impl Freeze for WorkflowTaskListQuery
impl RefUnwindSafe for WorkflowTaskListQuery
impl Send for WorkflowTaskListQuery
impl Sync for WorkflowTaskListQuery
impl Unpin for WorkflowTaskListQuery
impl UnsafeUnpin for WorkflowTaskListQuery
impl UnwindSafe for WorkflowTaskListQuery
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