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