#![allow(unused_imports)] use harvest_api::HarvestClient; use harvest_api::model::*; #[tokio::main] async fn main() { let client = HarvestClient::from_env(); let from = "your from"; let to = "your to"; let response = client .projects_time_report(from, to) .page(1) .per_page(1) .send() .await .unwrap(); println!("{:#?}", response); }