pub enum SettingType {
SettingData(SettingData),
SettingInfo(Vec<SettingInfo>),
}Expand description
An enum to denote when we are sending SettingsInfo or receiving SettingData
Variants§
SettingData(SettingData)
SettingInfo(Vec<SettingInfo>)
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<'de> Deserialize<'de> for SettingType
impl<'de> Deserialize<'de> for SettingType
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 SettingType
impl PartialEq for SettingType
Source§impl Serialize for SettingType
impl Serialize 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