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
17
18
#![allow(unused_imports)]
use benchling::BenchlingClient;
use benchling::model::*;
#[tokio::main]
async fn main() {
    let client = BenchlingClient::from_env();
    let name = "your name";
    let schema_id = "your schema id";
    let response = client
        .create_location(name, schema_id)
        .barcode("your barcode")
        .fields(Fields {})
        .parent_storage_id("your parent storage id")
        .send()
        .await
        .unwrap();
    println!("{:#?}", response);
}