construct/examples/basic.rs

12 lines
268 B
Rust

use construct::Construct;
#[tokio::main]
async fn main() {
// Create new Construct
let construct = Construct::new("id", "secret");
// Fetch account information
let account = construct.fetch_account().await.unwrap();
println!("{:#?}", account);
}