#![allow(unused_imports)] use asana::AsanaClient; use asana::model::*; #[tokio::main] async fn main() { let client = AsanaClient::from_env(); let portfolio_gid = "your portfolio gid"; let response = client .get_portfolio_memberships_for_portfolio(portfolio_gid) .limit(1) .offset("your offset") .opt_fields(&["your opt fields"]) .opt_pretty(true) .user("your user") .await .unwrap(); println!("{:#?}", response); }