mx-bookmarks

A small bookmarks tui based on the matrix protocol and MSC2771
git clone git://archive.git.mtrnord.blog/MTRNord/mx-bookmarks.git
Log | Files | Refs | LICENSE

mod.rs (367B)


      1 use matrix_sdk::identifiers::EventId;
      2 use serde::{Serialize, Deserialize};
      3 
      4 pub mod global;
      5 pub mod room;
      6 
      7 
      8 /// Information about a tag.
      9 #[derive(Clone, Debug, Deserialize, Serialize, PartialEq)]
     10 #[cfg_attr(not(feature = "unstable-exhaustive-types"), non_exhaustive)]
     11 pub struct Bookmark {
     12     pub event_id: EventId,
     13     pub title: String,
     14     pub comment: String,
     15 }