pub struct Content {
pub text: String,
pub date_time: NaiveDateTime,
}
Expand description
Stores the content of a ‘memo’ Includes the text, the date and time
Fields§
§text: String
§date_time: NaiveDateTime
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Content
impl Send for Content
impl Sync for Content
impl Unpin for Content
impl UnwindSafe for Content
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