pub struct SettingInfo {
pub name: String,
pub description: Option<String>,
pub setting_type: SettingType,
pub default: Option<String>,
}Expand description
Information about a setting
Fields§
§name: StringSetting name (e.g., “experimental”, “jobs”)
description: Option<String>Description of what this setting does
setting_type: SettingTypeType of the setting (for display and validation)
default: Option<String>Default value as string
Trait Implementations§
Source§impl Clone for SettingInfo
impl Clone for SettingInfo
Source§fn clone(&self) -> SettingInfo
fn clone(&self) -> SettingInfo
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 moreAuto Trait Implementations§
impl Freeze for SettingInfo
impl RefUnwindSafe for SettingInfo
impl Send for SettingInfo
impl Sync for SettingInfo
impl Unpin for SettingInfo
impl UnsafeUnpin for SettingInfo
impl UnwindSafe for SettingInfo
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