pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
        match value {
            "UNSPECIFIED_UPGRADE" => Some(Self::UnspecifiedUpgrade),
            "EARN_RATE_BOOST" => Some(Self::EarnRateBoost),
            "CLICK_VALUE_BOOST" => Some(Self::ClickValueBoost),
            "CLICKS_PER_PERIOD_BOOST" => Some(Self::ClicksPerPeriodBoost),
            _ => None,
        }
    }
Creates an enum from field names used in the ProtoBuf definition.
crates/sdk/src/network/proto/network.rs