pub struct DailyNote {
pub date: String,
pub content: String,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}Expand description
Daily note entry
Fields§
§date: StringDate string (YYYY-MM-DD)
content: StringNote content in Markdown format
created_at: DateTime<Utc>Creation timestamp
updated_at: DateTime<Utc>Last updated timestamp
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DailyNote
impl<'de> Deserialize<'de> for DailyNote
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 DailyNote
impl RefUnwindSafe for DailyNote
impl Send for DailyNote
impl Sync for DailyNote
impl Unpin for DailyNote
impl UnsafeUnpin for DailyNote
impl UnwindSafe for DailyNote
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