SquidSpirit e49c5b888a
All checks were successful
Frontend CI / build (push) Successful in 1m29s
PR Title Check / pr-title-check (pull_request) Successful in 16s
BLOG-43 feat: get full post
2025-05-22 15:49:09 +08:00

14 lines
260 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>>,
}