summaryrefslogtreecommitdiff
path: root/src/message/id.rs
blob: 9161c7889c8b55ba2ae6f4d7172742214d31c1c6 (plain)
1
2
3
4
5
6
7
8
9
10
pub type Id = crate::id::Id<Message>;

#[derive(Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
pub struct Message;

impl crate::id::Prefix for Message {
    fn prefix(&self) -> &'static str {
        "M"
    }
}