openlatch-provider 0.2.1

Self-service onboarding CLI + runtime daemon for OpenLatch Editors and Providers
//! Row structs rendered by the `tools list` / `providers list` /
//! `bindings list` / `bindings metrics` commands via the `tabled` crate.

use tabled::Tabled;

#[derive(Tabled)]
pub struct ToolRow {
    pub slug: String,
    pub version: String,
    pub state: String,
    #[tabled(rename = "score")]
    pub routing_score: String,
}

#[derive(Tabled)]
pub struct ProviderRow {
    pub slug: String,
    #[tabled(rename = "display_name")]
    pub display_name: String,
    pub region: String,
    pub capacity_qps: String,
}

#[derive(Tabled)]
pub struct BindingRow {
    pub id: String,
    pub tool: String,
    pub provider: String,
    pub state: String,
    pub score: String,
}