mayday 0.1.0

A multi-messaging-sevice aggregator into an all-in-one application (android's app beeper-like)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use chrono::{DateTime, Local};
use ormlite::Model;
use serde::{Deserialize, Serialize};

#[derive(Model, Serialize, Deserialize, PartialEq, Debug, Clone)]
#[ormlite(table = "messages")]
pub struct Message {
    #[ormlite(primary_key)]
    pub timestamp: DateTime<Local>,
    pub sender: Option<String>,
    pub text: String,
}