#![allow(unused_imports)] use plaid::PlaidClient; use plaid::model::*; #[tokio::main] async fn main() { let client = PlaidClient::from_env(); let client_user_id = "your client user id"; let response = client .user_create(client_user_id) .consumer_report_user_identity(ConsumerReportUserIdentity { emails: vec!["your emails".to_owned()], first_name: "your first name".to_owned(), last_name: "your last name".to_owned(), phone_numbers: vec!["your phone numbers".to_owned()], primary_address: AddressData { city: Some("your city".to_owned()), country: Some("your country".to_owned()), postal_code: Some("your postal code".to_owned()), region: Some("your region".to_owned()), street: "your street".to_owned(), }, }) .await .unwrap(); println!("{:#?}", response); }