pub struct TaskV1 {
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>任务优先级(1-5) 任务优先级。
is_completed: bool任务是否完成
created_at: String创建时间
updated_at: String更新时间
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TaskV1
impl<'de> Deserialize<'de> for TaskV1
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 TaskV1
impl RefUnwindSafe for TaskV1
impl Send for TaskV1
impl Sync for TaskV1
impl Unpin for TaskV1
impl UnsafeUnpin for TaskV1
impl UnwindSafe for TaskV1
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