pub struct MispSetting {Show 15 fields
pub level: Option<i32>,
pub value: Option<Box<MispSettingValue>>,
pub error_message: Option<Option<String>>,
pub test: Option<Option<Box<MispSettingTest>>>,
pub type: Option<Type>,
pub null: Option<Option<bool>>,
pub sub_group: Option<Option<String>>,
pub cli_only: Option<Option<i32>>,
pub redacted: Option<Option<bool>>,
pub options_source: Option<Option<Value>>,
pub after_hook: Option<Option<String>>,
pub error: Option<Option<i32>>,
pub tab: Option<String>,
pub setting: Option<String>,
pub options: Option<Option<Box<MispSettingOptions>>>,
}
Fields§
§level: Option<i32>
§value: Option<Box<MispSettingValue>>
§error_message: Option<Option<String>>
§test: Option<Option<Box<MispSettingTest>>>
§type: Option<Type>
§null: Option<Option<bool>>
§sub_group: Option<Option<String>>
§cli_only: Option<Option<i32>>
§redacted: Option<Option<bool>>
§options_source: Option<Option<Value>>
§after_hook: Option<Option<String>>
§error: Option<Option<i32>>
§tab: Option<String>
§setting: Option<String>
§options: Option<Option<Box<MispSettingOptions>>>
Implementations§
Source§impl MispSetting
impl MispSetting
pub fn new() -> MispSetting
Trait Implementations§
Source§impl Clone for MispSetting
impl Clone for MispSetting
Source§fn clone(&self) -> MispSetting
fn clone(&self) -> MispSetting
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 MispSetting
impl Debug for MispSetting
Source§impl Default for MispSetting
impl Default for MispSetting
Source§fn default() -> MispSetting
fn default() -> MispSetting
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MispSetting
impl<'de> Deserialize<'de> for MispSetting
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
Source§impl PartialEq for MispSetting
impl PartialEq for MispSetting
Source§impl Serialize for MispSetting
impl Serialize for MispSetting
impl StructuralPartialEq for MispSetting
Auto Trait Implementations§
impl Freeze for MispSetting
impl RefUnwindSafe for MispSetting
impl Send for MispSetting
impl Sync for MispSetting
impl Unpin for MispSetting
impl UnwindSafe for MispSetting
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