openapi_github/models/
codespace_runtime_constraints.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct CodespaceRuntimeConstraints {
16 #[serde(rename = "allowed_port_privacy_settings", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
18 pub allowed_port_privacy_settings: Option<Option<Vec<String>>>,
19}
20
21impl CodespaceRuntimeConstraints {
22 pub fn new() -> CodespaceRuntimeConstraints {
23 CodespaceRuntimeConstraints {
24 allowed_port_privacy_settings: None,
25 }
26 }
27}
28