manta-shared 2.0.0-beta.13

Shared types and pure helpers used by both manta-cli and manta-server.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Parameters for `GET /nodes`.

/// Typed parameters for fetching node details.
pub struct GetNodesParams {
  /// Comma-separated xnames, NIDs, or hostlist expression
  /// (e.g. `x3000c0s1b0n[0-3]`).
  pub xname: String,
  /// When true, also return nodes sharing a power supply with any
  /// requested node.
  pub include_siblings: bool,
  /// Optional power-status filter (e.g. `ON`, `OFF`, `READY`).
  pub status_filter: Option<String>,
}