Skip to main content

manta_shared/shared/params/
image.rs

1//! Parameters for `GET /images`.
2
3/// Typed parameters for fetching IMS images.
4pub struct GetImagesParams {
5  /// Exact IMS image ID; returns just that image when set.
6  pub id: Option<String>,
7  /// HSM group to filter by (images associated with this group).
8  pub hsm_group: Option<String>,
9  /// Operator default from `cli.toml`'s `parent_hsm_group`, used
10  /// as a fallback for `hsm_group`.
11  pub settings_hsm_group_name: Option<String>,
12  /// Cap on the number of images returned (most recent first).
13  pub limit: Option<u8>,
14}