MCPcopy Create free account
hub / github.com/hashintel/hash / deserialize

Function deserialize

libs/@local/hashql/diagnostics/src/encoding.rs:15–20  ·  view source on GitHub ↗
(deserializer: D)

Source from the content-addressed store, hash-verified

13 }
14
15 pub(crate) fn deserialize<'de, D>(deserializer: D) -> Result<Option<Style>, D::Error>
16 where
17 D: Deserializer<'de>,
18 {
19 Option::<StyleProxy>::deserialize(deserializer).map(|result| result.map(Style::from))
20 }
21}
22
23pub(crate) mod style {

Callers 5

deserializeMethod · 0.70
deserializeMethod · 0.70
deserializeMethod · 0.70
deserializeMethod · 0.50
deserializeMethod · 0.50

Calls 2

mapMethod · 0.45
expectMethod · 0.45

Tested by

no test coverage detected