benchling 5.0.0

Benchling client, generated from the OpenAPI spec.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#![allow(unused_imports)]
use benchling::BenchlingClient;
use benchling::model::*;
#[tokio::main]
async fn main() {
    let client = BenchlingClient::from_env();
    let registry_id = "your registry id";
    let entity_ids = &["your entity ids"];
    let naming_strategy = "your naming strategy";
    let response = client
        .register_entities(registry_id, entity_ids, naming_strategy)
        .send()
        .await
        .unwrap();
    println!("{:#?}", response);
}