mirror of
https://github.com/Lumither/nocturne.git
synced 2026-10-17 10:26:21 +00:00
feat(api) add refresh.rs
This commit is contained in:
10 files changed
+127
-9
No files matched your search
@@ -3,10 +3,12 @@ use serde::{Deserialize, Serialize};
|
||||
use sqlx::FromRow;
|
||||
use uuid::Uuid;
|
||||
|
||||
pub mod post;
|
||||
|
||||
#[derive(Debug, Serialize, Deserialize, FromRow)]
|
||||
pub struct Post {
|
||||
post_id: Uuid,
|
||||
title: String,
|
||||
content: String,
|
||||
last_update: NaiveDateTime,
|
||||
pub post_id: Uuid,
|
||||
pub title: String,
|
||||
pub content: String,
|
||||
pub last_update: NaiveDateTime,
|
||||
}
|
||||
Reference in new issue
Block a user