Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/actix/examples
/ Greet
Class
Greet
templating/sailfish/src/main.rs:10–12 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
8
#[derive(TemplateOnce)]
9
#[template(path =
"actix.stpl"
)]
10
struct Greet<'a> {
11
name: &'a str,
12
}
13
14
#[derive(TemplateOnce)]
15
#[template(path =
"page.stpl"
)]
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected