MCPcopy Create free account
hub / github.com/dfinity/orbit / key

Method key

core/station/impl/src/models/user.rs:43–45  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

41
42impl ModelKey<UserKey> for User {
43 fn key(&self) -> UserKey {
44 UserKey { id: self.id }
45 }
46}
47
48#[derive(CandidType, Deserialize, Debug, Clone)]

Calls

no outgoing calls

Tested by 15

test_sync_callFunction · 0.36
test_getFunction · 0.36
test_editFunction · 0.36
test_removeFunction · 0.36