#![allow(unused_imports)] use benchling::BenchlingClient; use benchling::model::*; use benchling::request::UpdateAaSequenceRequired; #[tokio::main] async fn main() { let client = BenchlingClient::from_env(); let args = UpdateAaSequenceRequired { annotations: vec![ AaAnnotation { name : Some("your name".to_owned()), color : Some("your color" .to_owned()), type_ : Some("your type".to_owned()), id : Some("your id" .to_owned()), end : Some(1), start : Some(1) } ], aliases: &["your aliases"], aa_sequence_id: "your aa sequence id", author_ids: &["your author ids"], folder_id: "your folder id", fields: Fields {}, name: "your name", schema_id: "your schema id", entity_registry_id: "your entity registry id", amino_acids: "your amino acids", custom_fields: CustomFields {}, }; let response = client.update_aa_sequence(args).send().await.unwrap(); println!("{:#?}", response); }