Skip to main content

Module dto

Module dto 

Source
Expand description

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.

Structs§

BootParameters
BosSessionTemplate
CfsConfigurationResponse
CfsSessionGetResponse
Group
Image
NodeDetails
Per-node details returned by GET /api/v1/nodes.
NodeSummary