Get last possible Msg id

This commit is contained in:
Joscha 2022-07-19 17:04:44 +02:00
parent 2beb44a17c
commit d638ba2887
4 changed files with 15 additions and 0 deletions

View file

@ -14,6 +14,8 @@ pub trait Msg {
fn time(&self) -> DateTime<Utc>;
fn nick(&self) -> Styled;
fn content(&self) -> Styled;
fn last_possible_id() -> Self::Id;
}
#[derive(PartialEq, Eq, PartialOrd, Ord)]