Skip to main content

variant

Function variant 

Source
pub fn variant(name: &str, payload: Json) -> Json
Expand description

The enum value of the constructor name with payload.