asana2 0.5.0

Fluent OpenAPI client for Asana
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#![allow(unused_imports)]
use asana::AsanaClient;
use asana::model::*;
#[tokio::main]
async fn main() {
    let client = AsanaClient::from_env();
    let data = GoalRemoveSupportingRelationshipRequest {
        supporting_resource: "your supporting resource".to_owned(),
    };
    let goal_gid = "your goal gid";
    let response = client
        .remove_supporting_relationship(data, goal_gid)
        .opt_pretty(true)
        .await
        .unwrap();
    println!("{:#?}", response);
}