#![allow(unused_imports)] use harvest_api::HarvestClient; use harvest_api::model::*; #[tokio::main] async fn main() { let client = HarvestClient::from_env(); let project_id = "your project id"; let task_assignment_id = "your task assignment id"; let response = client .retrieve_task_assignment(project_id, task_assignment_id) .send() .await .unwrap(); println!("{:#?}", response); }