use typesense::Document; use serde::{Serialize, Deserialize}; #[derive(Document, Serialize, Deserialize)] struct Company { company_name: String, num_employees: i32, #[typesense(facet)] #[typesense(facet)] country_code: String, } fn main() {}