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

Method encode

crates/client-api/src/auth.rs:500–502  ·  view source on GitHub ↗
(&self, values: &mut E)

Source from the content-addressed store, hash-verified

498 }
499
500 fn encode<E: Extend<HeaderValue>>(&self, values: &mut E) {
501 values.extend([self.0.to_hex().as_str().try_into().unwrap()])
502 }
503}
504
505pub struct SpacetimeIdentityToken(pub SpacetimeCreds);

Callers

nothing calls this directly

Calls 7

try_intoMethod · 0.80
tokenMethod · 0.80
extendMethod · 0.45
unwrapMethod · 0.45
as_strMethod · 0.45
to_hexMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected