sqlx-exasol-impl 0.9.2

Driver implementation for sqlx-exasol. Not meant to be used directly.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use std::net::IpAddr;

use serde::Deserialize;

/// Response returned from the database containing the IP's of its nodes.
#[derive(Debug, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct Hosts {
    nodes: Vec<IpAddr>,
}

impl From<Hosts> for Vec<IpAddr> {
    fn from(value: Hosts) -> Self {
        value.nodes
    }
}