Crate oss_vizier

Source
Expand description

Unofficial OSS Vizier Client API.

See https://github.com/google/vizier for OSS Vizier backend.

let endpoint = std::env::var("ENDPOINT").unwrap_or_else(|_| "http://localhost:28080".to_string());

let service = VizierServiceClient::connect(endpoint).await.unwrap();

let owner = "owner".to_string();

let mut client = VizierClient::new_with_service(owner, service)

let request = client
    .mk_list_studies_request_builder()
    .with_page_size(2)
    .build();

let studies = client.service.list_studies(request).await.unwrap();
let study_list = &studies.get_ref().studies;
for t in study_list {
    println!("- {}", &t.display_name);
}

Re-exports§

pub use prost_types;

Modules§

google
google protos.
model
Model for Vizier API.
util
Utilities for the Vizier API.
vizier
vizier oss proto

Structs§

VizierClient
Vizier client.

Enums§

Error
Errors that can occur when using VizierClient.