consulrs 0.1.0

An asynchronous Rust client library for the Hashicorp Consul API.
Documentation
1
2
3
4
5
6
7
use serde::Deserialize;

#[derive(Clone, Debug, Deserialize)]
pub struct CreateSessionResponse {
    #[serde(rename = "ID")]
    pub id: String,
}