pub struct TodoDto {
pub id: u64,
pub title: String,
pub completed: bool,
pub created_at_secs: u64,
pub completed_at_secs: Option<u64>,
pub description: Option<String>,
pub due_date: Option<String>,
pub priority: Option<String>,
pub tags: Vec<String>,
pub repeat_rule: Option<String>,
pub repeat_until: Option<String>,
pub repeat_count: Option<u32>,
}Fields§
§id: u64§title: String§completed: bool§created_at_secs: u64§completed_at_secs: Option<u64>§description: Option<String>§due_date: Option<String>§priority: Option<String>§repeat_rule: Option<String>§repeat_until: Option<String>§repeat_count: Option<u32>Trait Implementations§
Source§impl<'de> Deserialize<'de> for TodoDto
impl<'de> Deserialize<'de> for TodoDto
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 TodoDto
impl RefUnwindSafe for TodoDto
impl Send for TodoDto
impl Sync for TodoDto
impl Unpin for TodoDto
impl UnsafeUnpin for TodoDto
impl UnwindSafe for TodoDto
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