pub struct TaskListItemV1 {
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 Clone for TaskListItemV1
impl Clone for TaskListItemV1
Source§fn clone(&self) -> TaskListItemV1
fn clone(&self) -> TaskListItemV1
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 TaskListItemV1
impl Debug for TaskListItemV1
Source§impl<'de> Deserialize<'de> for TaskListItemV1
impl<'de> Deserialize<'de> for TaskListItemV1
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 TaskListItemV1
impl RefUnwindSafe for TaskListItemV1
impl Send for TaskListItemV1
impl Sync for TaskListItemV1
impl Unpin for TaskListItemV1
impl UnsafeUnpin for TaskListItemV1
impl UnwindSafe for TaskListItemV1
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