12 lines
289 B
Rust
12 lines
289 B
Rust
use serde::{Deserialize, Serialize};
|
|
|
|
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq)]
|
|
#[serde(rename_all = "camelCase")]
|
|
pub struct PromptTemplate {
|
|
pub id: String,
|
|
pub name: String,
|
|
pub content: String,
|
|
pub created_at: String,
|
|
pub updated_at: String,
|
|
}
|