podman_rest_client/v5/models/
posix_rlimit.rs

1use serde::{Deserialize, Serialize};
2#[derive(Default, Debug, Serialize, Deserialize)]
3/// POSIXRlimit type and restrictions
4pub struct PosixRlimit {
5    /// Hard is the hard limit for the specified type
6    pub hard: Option<u64>,
7    /// Soft is the soft limit for the specified type
8    pub soft: Option<u64>,
9    /// Type of the rlimit to set
10    #[serde(rename = "type")]
11    pub r#type: Option<String>,
12}