Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/actix/examples
/ LangChoice
Class
LangChoice
templating/fluent/src/lang_choice.rs:14–14 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
12
#[derive(Debug, Serialize)]
13
#[serde(transparent)]
14
pub struct LangChoice(String);
15
16
impl LangChoice {
17
pub(crate) fn from_req(req: &HttpRequest) -> Self {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected