gitea_client/models/
node_info_services.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct NodeInfoServices {
17 #[serde(rename = "inbound", skip_serializing_if = "Option::is_none")]
18 pub inbound: Option<Vec<String>>,
19 #[serde(rename = "outbound", skip_serializing_if = "Option::is_none")]
20 pub outbound: Option<Vec<String>>,
21}
22
23impl NodeInfoServices {
24 pub fn new() -> NodeInfoServices {
26 NodeInfoServices {
27 inbound: None,
28 outbound: None,
29 }
30 }
31}
32