pub struct ListTasksResponse {
pub has_more: bool,
pub page_token: Option<String>,
pub total: Option<i32>,
pub items: Vec<TaskItem>,
}Expand description
获取任务列表响应
Fields§
§has_more: bool是否还有更多项
page_token: Option<String>分页标记
total: Option<i32>总数
items: Vec<TaskItem>列表项
Trait Implementations§
Source§impl ApiResponseTrait for ListTasksResponse
impl ApiResponseTrait for ListTasksResponse
Source§fn data_format() -> ResponseFormat
fn data_format() -> ResponseFormat
获取响应数据格式
Source§impl Clone for ListTasksResponse
impl Clone for ListTasksResponse
Source§fn clone(&self) -> ListTasksResponse
fn clone(&self) -> ListTasksResponse
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 ListTasksResponse
impl Debug for ListTasksResponse
Source§impl<'de> Deserialize<'de> for ListTasksResponse
impl<'de> Deserialize<'de> for ListTasksResponse
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 ListTasksResponse
impl PartialEq for ListTasksResponse
Source§fn eq(&self, other: &ListTasksResponse) -> bool
fn eq(&self, other: &ListTasksResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ListTasksResponse
impl Serialize for ListTasksResponse
impl StructuralPartialEq for ListTasksResponse
Auto Trait Implementations§
impl Freeze for ListTasksResponse
impl RefUnwindSafe for ListTasksResponse
impl Send for ListTasksResponse
impl Sync for ListTasksResponse
impl Unpin for ListTasksResponse
impl UnsafeUnpin for ListTasksResponse
impl UnwindSafe for ListTasksResponse
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