MCPcopy Create free account
hub / github.com/InkSha/rust-tutorial / deserialize

Method deserialize

src/todo/core.rs:74–76  ·  view source on GitHub ↗
(s: S)

Source from the content-addressed store, hash-verified

72 }
73
74 fn deserialize<S: Into<String>>(s: S) -> Self {
75 serde_json::from_str(&s.into()).unwrap()
76 }
77}
78
79impl Serializer for TodoItem {}

Callers

nothing calls this directly

Implementers 1

core.rssrc/todo/core.rs

Calls

no outgoing calls

Tested by

no test coverage detected