MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / AddNetworkRuleJson

Class AddNetworkRuleJson

crates/openshell-supervisor-network/src/policy_local.rs:1254–1258  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1252
1253#[derive(Debug, Deserialize)]
1254struct AddNetworkRuleJson {
1255 #[serde(default, rename = "ruleName")]
1256 rule_name: Option<String>,
1257 rule: NetworkPolicyRuleJson,
1258}
1259
1260#[derive(Debug, Deserialize)]
1261struct NetworkPolicyRuleJson {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected