MCPcopy Index your code
hub / github.com/cargo-lambda/cargo-lambda / fmt

Method fmt

crates/cargo-lambda-deploy/src/dry.rs:18–23  ·  view source on GitHub ↗
(&self, f: &mut std::fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

16
17impl Display for DeployKind {
18 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
19 match self {
20 DeployKind::Function => write!(f, "function"),
21 DeployKind::Extension => write!(f, "extension"),
22 }
23 }
24}
25
26#[derive(Serialize)]

Callers

nothing calls this directly

Calls 3

newFunction · 0.85
is_emptyMethod · 0.45
lambda_environmentMethod · 0.45

Tested by

no test coverage detected