1 2 3 4 5 6 7
use serde::Deserialize; #[derive(Deserialize, Debug)] pub struct SearchResults<T> { pub data: T, pub ok: bool, }