1 2 3 4 5 6 7 8 9 10 11
use serde::{Deserialize, Serialize}; use crate::types::RewardId; #[derive(Debug, Clone, Serialize, Deserialize)] pub struct Reward { pub id: RewardId, pub title: String, pub prompt: String, pub cost: u64, }