podman_rest_client/v5/models/inspect_log_config.rs
1use serde::{Deserialize, Serialize};
2#[derive(Default, Debug, Serialize, Deserialize)]
3/// InspectLogConfig holds information about a container's configured log driver
4pub struct InspectLogConfig {
5 #[serde(rename = "Config")]
6 pub config: Option<std::collections::HashMap<String, String>>,
7 /// Path specifies a path to the log file
8 #[serde(rename = "Path")]
9 pub path: Option<String>,
10 /// Size specifies a maximum size of the container log
11 #[serde(rename = "Size")]
12 pub size: Option<String>,
13 /// Tag specifies a custom log tag for the container
14 #[serde(rename = "Tag")]
15 pub tag: Option<String>,
16 #[serde(rename = "Type")]
17 pub r#type: Option<String>,
18}