use {
serde::Deserialize,
time::OffsetDateTime,
super::datetimeformat,
};
pub const NOTES_URL: &'static str = "notes.json";
#[derive(Debug, Deserialize)]
pub struct Note {
pub id: u32,
#[serde(with = "datetimeformat")]
pub created_at: OffsetDateTime,
#[serde(with = "datetimeformat")]
pub updated_at: OffsetDateTime,
pub creator_id: u32,
pub x: u16, pub y: u16, pub width: u16,
pub height: u16,
pub version: u16, pub is_active: bool,
pub post_id: u32,
pub body: String,
pub creator_name: String
}
impl Note {
}