pub struct SettingsEntry {
pub name: String,
pub value: Value,
pub default: Option<Value>,
pub setting_type: Option<String>,
pub category: Option<String>,
pub description: Option<String>,
}Fields§
§name: String§value: Value§default: Option<Value>§setting_type: Option<String>Renamed to avoid the Rust keyword. Serializes as type.
category: Option<String>§description: Option<String>Trait Implementations§
Source§impl Clone for SettingsEntry
impl Clone for SettingsEntry
Source§fn clone(&self) -> SettingsEntry
fn clone(&self) -> SettingsEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SettingsEntry
impl Debug for SettingsEntry
Source§impl<'de> Deserialize<'de> for SettingsEntry
impl<'de> Deserialize<'de> for SettingsEntry
Source§fn 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
Auto Trait Implementations§
impl Freeze for SettingsEntry
impl RefUnwindSafe for SettingsEntry
impl Send for SettingsEntry
impl Sync for SettingsEntry
impl Unpin for SettingsEntry
impl UnsafeUnpin for SettingsEntry
impl UnwindSafe for SettingsEntry
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