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
#![allow(unused_imports)]
use benchling::BenchlingClient;
use benchling::model::*;
#[tokio::main]
async fn main() {
    let client = BenchlingClient::from_env();
    let containers = vec![
        ContainerCreate { project_id : Some("your project id".to_owned()), schema_id :
        "your schema id".to_owned(), barcode : "your barcode".to_owned(),
        container_write_base : ContainerWriteBase(::serde_json::json!({})) }
    ];
    let response = client.bulk_create_containers(containers).send().await.unwrap();
    println!("{:#?}", response);
}