pub struct UpdateTaskResponseV1 {
pub id: String,
pub summary: String,
pub description: Option<String>,
pub start: Option<String>,
pub due: Option<String>,
pub priority: Option<i32>,
pub is_completed: bool,
pub created_at: String,
pub updated_at: String,
}Expand description
更新任务响应(v1) 更新任务响应。
Fields§
§id: String任务 ID
summary: String任务标题
description: Option<String>任务描述 任务描述。
start: Option<String>任务开始时间 任务开始时间。
due: Option<String>任务截止时间 任务截止时间。
priority: Option<i32>任务优先级 任务优先级。
is_completed: bool任务是否完成
created_at: String创建时间
updated_at: String更新时间
Trait Implementations§
Source§impl ApiResponseTrait for UpdateTaskResponseV1
impl ApiResponseTrait for UpdateTaskResponseV1
Source§fn data_format() -> ResponseFormat
fn data_format() -> ResponseFormat
获取响应数据格式
Source§impl Clone for UpdateTaskResponseV1
impl Clone for UpdateTaskResponseV1
Source§fn clone(&self) -> UpdateTaskResponseV1
fn clone(&self) -> UpdateTaskResponseV1
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 UpdateTaskResponseV1
impl Debug for UpdateTaskResponseV1
Source§impl<'de> Deserialize<'de> for UpdateTaskResponseV1
impl<'de> Deserialize<'de> for UpdateTaskResponseV1
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 UpdateTaskResponseV1
impl RefUnwindSafe for UpdateTaskResponseV1
impl Send for UpdateTaskResponseV1
impl Sync for UpdateTaskResponseV1
impl Unpin for UpdateTaskResponseV1
impl UnsafeUnpin for UpdateTaskResponseV1
impl UnwindSafe for UpdateTaskResponseV1
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