pub enum SettingType {
Bool,
Integer,
String,
StringArray,
Duration,
Path,
Enum(Vec<String>),
}Expand description
Type of a setting value
Variants§
Bool
Boolean (true/false)
Integer
Integer number
String
String value
StringArray
Array of strings
Duration
Duration (e.g., “1h”, “30m”)
Path
Path on filesystem
Enum(Vec<String>)
Enum with specific allowed values
Trait Implementations§
Source§impl Clone for SettingType
impl Clone for SettingType
Source§fn clone(&self) -> SettingType
fn clone(&self) -> SettingType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SettingType
impl Debug for SettingType
Source§impl PartialEq for SettingType
impl PartialEq for SettingType
impl StructuralPartialEq for SettingType
Auto Trait Implementations§
impl Freeze for SettingType
impl RefUnwindSafe for SettingType
impl Send for SettingType
impl Sync for SettingType
impl Unpin for SettingType
impl UnsafeUnpin for SettingType
impl UnwindSafe for SettingType
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