pub struct MemoryNote {
pub scope: MemoryScope,
pub title: Option<String>,
pub text: String,
}Expand description
A note to save.
Fields§
§scope: MemoryScopeWho it is for.
title: Option<String>Short title; derived from the text when None.
text: StringThe note.
Trait Implementations§
Source§impl Clone for MemoryNote
impl Clone for MemoryNote
Source§impl Debug for MemoryNote
impl Debug for MemoryNote
impl Eq for MemoryNote
Source§impl PartialEq for MemoryNote
impl PartialEq for MemoryNote
impl StructuralPartialEq for MemoryNote
Auto Trait Implementations§
impl Freeze for MemoryNote
impl RefUnwindSafe for MemoryNote
impl Send for MemoryNote
impl Sync for MemoryNote
impl Unpin for MemoryNote
impl UnsafeUnpin for MemoryNote
impl UnwindSafe for MemoryNote
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