harvest-api 5.0.0

Harvest client, generated from the OpenAPI spec.
Documentation
#![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
        .update_task(task_id)
        .name("your name")
        .billable_by_default(true)
        .default_hourly_rate(1.0)
        .is_default(true)
        .is_active(true)
        .send()
        .await
        .unwrap();
    println!("{:#?}", response);
}