1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
//! Wire response types shared by both binaries.
//!
//! The CLI (in `http_client.rs` and `cli::output::*`) deserializes
//! responses from the manta-server using these types; the server
//! serializes them back over HTTP via the service layer.
//!
//! `NodeDetails` is mirrored locally (rather than re-exporting from
//! `csm-rs`) so `manta-shared` — and therefore `manta-cli` — does not
//! transitively depend on `csm-rs`. The server converts from
//! `csm_rs::node::types::NodeDetails` at the service-layer boundary
//! (see `crates/manta-server/src/wire_conv.rs`). The JSON wire shape
//! is byte-identical: same field names, no `#[serde(rename)]`.
//!
//! The remaining re-exports come from the lightweight
//! `manta-backend-dispatcher` crate (types + traits only, no csm-rs
//! / ochami-rs deps). Mirroring those too is a separate, optional
//! follow-up.
pub use ;
use ;
/// Per-node details returned by `GET /api/v1/nodes`.
///
/// Mirror of `csm_rs::node::types::NodeDetails` with identical fields
/// and identical JSON wire format. The server converts from the
/// upstream type via `From` in `wire_conv.rs`.