You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#[derive(Clone,Debug)]pubstructSettingValue{// Default value of this setting.default_value:UserSettingValue,user_setting:UserSetting,level:ScopeLevel,desc:&'staticstr,possible_values:Option<Vec<&'staticstr>>,}#[derive(Serialize,Deserialize,Clone,PartialEq,Eq)]pubenumUserSettingValue{UInt64(u64),// TO BE COMPATIBLE WITH old version: `String<Vec<u8>>`#[serde(deserialize_with = "deser_str_from_vu8")]#[serde(serialize_with = "str_vu8")]String(String),}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Now the setting value has these items.
But now we have a settings max_thread.
If we set it to 0, it does not have any sense.
Maybe we can add a min, max item in SettingValue or UserSettingValue?
Beta Was this translation helpful? Give feedback.
All reactions