Get last possible Msg id
This commit is contained in:
parent
2beb44a17c
commit
d638ba2887
4 changed files with 15 additions and 0 deletions
|
|
@ -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)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue