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

Method deserialize

crates/openshell-driver-kubernetes/src/config.rs:151–157  ·  view source on GitHub ↗
(deserializer: D)

Source from the content-addressed store, hash-verified

149
150impl<'de> Deserialize<'de> for AppArmorProfile {
151 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
152 where
153 D: Deserializer<'de>,
154 {
155 let value = String::deserialize(deserializer)?;
156 Self::from_str(&value).map_err(serde::de::Error::custom)
157 }
158}
159
160fn deserialize_optional_app_armor_profile<'de, D>(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected