Skip to main content

history_variant_name

Function history_variant_name 

Source
pub fn history_variant_name(handler: &str) -> String
Expand description

The .call variant tag for a handler: the handler name with its first letter upper-cased (spendSpend, topUpTopUp). The reader matches this with is / match (s.call is Spend).