pub struct SettingValueForm {
pub kind: SettingValueKind,
pub domain: Option<String>,
pub members: Vec<String>,
pub min: Option<f64>,
pub max: Option<f64>,
}Expand description
The value form a settings key accepts.
Fields§
§kind: SettingValueKindThe value shape.
domain: Option<String>The settings enum domain an enum key accepts members of.
members: Vec<String>The member spellings an enum slot accepts.
min: Option<f64>The numeric bounds the table declares, when it declares them.
max: Option<f64>The numeric upper bound, when declared.
Trait Implementations§
Source§impl Clone for SettingValueForm
impl Clone for SettingValueForm
Source§impl Debug for SettingValueForm
impl Debug for SettingValueForm
Source§impl PartialEq for SettingValueForm
impl PartialEq for SettingValueForm
Source§impl Serialize for SettingValueForm
impl Serialize for SettingValueForm
impl StructuralPartialEq for SettingValueForm
Auto Trait Implementations§
impl Freeze for SettingValueForm
impl RefUnwindSafe for SettingValueForm
impl Send for SettingValueForm
impl Sync for SettingValueForm
impl Unpin for SettingValueForm
impl UnsafeUnpin for SettingValueForm
impl UnwindSafe for SettingValueForm
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more