SquidSpirit e72f5a5a8e
All checks were successful
Frontend CI / build (push) Successful in 1m29s
BLOG-43 feat: connect to database
2025-05-07 03:06:43 +08:00

13 lines
259 B
Rust

use chrono::{DateTime, Utc};
use super::label::Label;
pub struct PostInfo {
pub id: i32,
pub title: String,
pub description: String,
pub preview_image_url: String,
pub labels: Vec<Label>,
pub published_time: Option<DateTime<Utc>>,
}