Struct userstyles::response::StyleSetting
[−]
[src]
pub struct StyleSetting { pub id: i32, pub style_id: i32, pub install_key: String, pub label: String, pub setting_type: String, pub style_setting_options: Vec<StyleSettingOption>, }
Available option for a userstyle
Fields
id: i32
id of this setting
style_id: i32
id of style this setting belongs to
install_key: String
key for request body
label: String
Human-readable name of this setting
setting_type: String
The type of this setting.
This is eiter color
, image
, text
or dropdown
.
style_setting_options: Vec<StyleSettingOption>
The available options and default
Trait Implementations
impl PartialEq for StyleSetting
[src]
fn eq(&self, __arg_0: &StyleSetting) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &StyleSetting) -> bool
This method tests for !=
.
impl Debug for StyleSetting
[src]
impl Default for StyleSetting
[src]
fn default() -> StyleSetting
Returns the "default value" for a type. Read more