1 2 3 4 5 6 7 8 9 10 11
use std::path::PathBuf; use serde::{Deserialize, Serialize}; #[derive(Debug, Serialize, Deserialize)] pub struct CreationRequest { pub name: String, pub modelfile: Option<String>, pub stream: Option<bool>, pub path: Option<PathBuf>, }