pub struct GetTaskResponse {
pub task_guid: String,
pub summary: String,
pub description: Option<String>,
pub status: String,
pub tasklist_guid: Option<String>,
pub section_guid: Option<String>,
pub priority: Option<i32>,
pub start: Option<String>,
pub due: Option<String>,
pub created_at: String,
pub updated_at: String,
pub completed_at: Option<String>,
}Expand description
获取任务响应
Fields§
§task_guid: String任务 GUID
summary: String任务标题
description: Option<String>任务描述
status: String任务状态
tasklist_guid: Option<String>任务清单 GUID
section_guid: Option<String>分组 GUID
priority: Option<i32>任务优先级
start: Option<String>任务开始时间
due: Option<String>任务截止时间
created_at: String创建时间
updated_at: String更新时间
completed_at: Option<String>完成时间
Trait Implementations§
Source§impl ApiResponseTrait for GetTaskResponse
impl ApiResponseTrait for GetTaskResponse
Source§fn data_format() -> ResponseFormat
fn data_format() -> ResponseFormat
获取响应数据格式
Source§impl Clone for GetTaskResponse
impl Clone for GetTaskResponse
Source§fn clone(&self) -> GetTaskResponse
fn clone(&self) -> GetTaskResponse
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 GetTaskResponse
impl Debug for GetTaskResponse
Source§impl<'de> Deserialize<'de> for GetTaskResponse
impl<'de> Deserialize<'de> for GetTaskResponse
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 GetTaskResponse
impl RefUnwindSafe for GetTaskResponse
impl Send for GetTaskResponse
impl Sync for GetTaskResponse
impl Unpin for GetTaskResponse
impl UnsafeUnpin for GetTaskResponse
impl UnwindSafe for GetTaskResponse
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