render-api 1.1.2

Render client, generated from the OpenAPI spec.
Documentation
1
2
3
4
5
6
7
8
9
10
#![allow(unused_imports)]
use render_api::RenderClient;
use render_api::model::*;
#[tokio::main]
async fn main() {
    let client = RenderClient::from_env();
    let service_id = "your service id";
    let response = client.add_custom_domain(service_id).name("your name").await.unwrap();
    println!("{:#?}", response);
}