MCPcopy Index your code
hub / github.com/RustyServerless/lambda-appsync / get

Method get

lambda-appsync/tests/make_appsync_no_batch.rs:16–18  ·  view source on GitHub ↗
(&self, id: &ID)

Source from the content-addressed store, hash-verified

14 }
15
16 fn get(&self, id: &ID) -> Option<Player> {
17 self.0.borrow().get(id).cloned()
18 }
19
20 fn insert(&self, id: ID, player: Player) -> Option<Player> {
21 self.0.borrow_mut().insert(id, player)

Callers 1

get_playerFunction · 0.45

Calls 1

borrowMethod · 0.80

Tested by

no test coverage detected