use std::collections::HashMap; #[derive(Default)] pub struct Actor { pub request_count: i64, pub invalid_request_count: i64, pub methods: HashMap, pub responses: HashMap, }