pub struct BookmarkEntry {
pub tag: String,
pub note: Option<String>,
pub created_at: DateTime<Utc>,
}Expand description
A single bookmark entry
Fields§
§tag: StringShort label chosen by the user (e.g. “important”, “bug”, “reference”)
note: Option<String>Optional free-text note
created_at: DateTime<Utc>When the bookmark was created
Trait Implementations§
Source§impl Clone for BookmarkEntry
impl Clone for BookmarkEntry
Source§fn clone(&self) -> BookmarkEntry
fn clone(&self) -> BookmarkEntry
Returns a duplicate of the value. Read more
1.0.0 · 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 BookmarkEntry
impl Debug for BookmarkEntry
Source§impl<'de> Deserialize<'de> for BookmarkEntry
impl<'de> Deserialize<'de> for BookmarkEntry
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
Source§impl PartialEq for BookmarkEntry
impl PartialEq for BookmarkEntry
Source§impl Serialize for BookmarkEntry
impl Serialize for BookmarkEntry
impl StructuralPartialEq for BookmarkEntry
Auto Trait Implementations§
impl Freeze for BookmarkEntry
impl RefUnwindSafe for BookmarkEntry
impl Send for BookmarkEntry
impl Sync for BookmarkEntry
impl Unpin for BookmarkEntry
impl UnsafeUnpin for BookmarkEntry
impl UnwindSafe for BookmarkEntry
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