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

Method serialize

crates/openshell-ocsf/src/enums/http_method.rs:76–78  ·  view source on GitHub ↗
(&self, serializer: S)

Source from the content-addressed store, hash-verified

74
75impl Serialize for HttpMethod {
76 fn serialize<S: serde::Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error> {
77 serializer.serialize_str(self.as_str())
78 }
79}
80
81impl<'de> Deserialize<'de> for HttpMethod {

Callers

nothing calls this directly

Calls 1

as_strMethod · 0.45

Tested by

no test coverage detected