MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / visit_map

Method visit_map

crates/client-api-messages/src/name.rs:571–577  ·  view source on GitHub ↗
(self, map: A)

Source from the content-addressed store, hash-verified

569 }
570
571 fn visit_map<A>(self, map: A) -> Result<Self::Value, A::Error>
572 where
573 A: MapAccess<'de>,
574 {
575 let v1: DomainNameV1 = Deserialize::deserialize(MapAccessDeserializer::new(map))?;
576 parse_domain_name([v1.tld, "/", v1.sub_domain].concat()).map_err(de::Error::custom)
577 }
578 }
579
580 impl<'de> Deserialize<'de> for DomainName {

Callers

nothing calls this directly

Calls 3

parse_domain_nameFunction · 0.85
deserializeFunction · 0.50
newFunction · 0.50

Tested by

no test coverage detected