Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustyServerless/lambda-appsync
/ get
Method
get
lambda-appsync/tests/lambda_integration_no_batch.rs:19–21 ·
view source on GitHub ↗
(&self, id: &ID)
Source
from the content-addressed store, hash-verified
17
}
18
19
fn get(&self, id: &ID) -> Option<Player> {
20
self.0.borrow().get(id).cloned()
21
}
22
23
fn insert(&self, id: ID, player: Player) -> Option<Player> {
24
self.0.borrow_mut().insert(id, player)
Callers
1
get_player
Function · 0.45
Calls
1
borrow
Method · 0.80
Tested by
no test coverage detected