MCPcopy Create free account
hub / github.com/MarcusRainbow/QuantMath / StringOrStruct

Class StringOrStruct

src/core/dedup.rs:255–255  ·  view source on GitHub ↗

This is a Visitor that forwards string types to T's `FromId` impl and forwards map types to T's `Deserialize` impl. The `PhantomData` is to keep the compiler from complaining about T being an unused generic type parameter. We need T in order to know the Value type for the Visitor impl.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

string_or_structFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected