podman_rest_client/v5/models/
service_create_response.rs

1use serde::{Deserialize, Serialize};
2#[derive(Default, Debug, Serialize, Deserialize)]
3/// ServiceCreateResponse contains the information returned to a client on the
4/// creation of a new service.
5pub struct ServiceCreateResponse {
6    /// The ID of the created service.
7    #[serde(rename = "ID")]
8    pub id: Option<String>,
9    /// Optional warning message.
10    ///
11    /// FIXME(thaJeztah): this should have "omitempty" in the generated type.
12    #[serde(rename = "Warnings")]
13    pub warnings: Option<Vec<String>>,
14}