Struct sbp_settings::setting::Setting
source · [−]pub struct Setting {
pub name: String,
pub group: String,
pub kind: SettingKind,
pub expert: bool,
pub readonly: bool,
pub description: Option<String>,
pub default_value: Option<String>,
pub notes: Option<String>,
pub units: Option<String>,
pub enumerated_possible_values: Option<String>,
pub digits: Option<String>,
}Fields
name: Stringgroup: Stringkind: SettingKindexpert: boolreadonly: booldescription: Option<String>default_value: Option<String>notes: Option<String>units: Option<String>enumerated_possible_values: Option<String>digits: Option<String>Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Setting
impl<'de> Deserialize<'de> for Setting
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Setting
Auto Trait Implementations
impl RefUnwindSafe for Setting
impl Send for Setting
impl Sync for Setting
impl Unpin for Setting
impl UnwindSafe for Setting
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more