mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2025-01-06 10:58:50 +00:00
15 lines
261 B
Rust
15 lines
261 B
Rust
//! # Comment information
|
|
//!
|
|
//! @author Pierre Hubert
|
|
|
|
use crate::data::user::UserID;
|
|
|
|
pub struct Comment {
|
|
pub id: u64,
|
|
pub time_sent: u64,
|
|
pub user_id: UserID,
|
|
pub post_id: u64,
|
|
pub content: String,
|
|
pub image_path: Option<String>,
|
|
}
|