asana2 0.3.0

Fluent OpenAPI client for Asana
Documentation
#![allow(unused_imports)]
use asana::AsanaClient;
use asana::model::*;
#[tokio::main]
async fn main() {
    let client = AsanaClient::from_env();
    let data = ProjectDuplicateRequest {
        include: "your include".to_owned(),
        name: "your name".to_owned(),
        schedule_dates: serde_json::json!({}),
        team: "your team".to_owned(),
    };
    let project_gid = "your project gid";
    let response = client
        .duplicate_project(data, project_gid)
        .opt_fields(&["your opt fields"])
        .opt_pretty(true)
        .await
        .unwrap();
    println!("{:#?}", response);
}