pub enum ConfigEntry {
Flag,
Text {
default: Option<String>,
},
Int {
default: Option<i64>,
},
Count,
List {
sep: Option<String>,
},
Alias {
target: String,
},
}Variants§
Trait Implementations§
Source§impl Clone for ConfigEntry
impl Clone for ConfigEntry
Source§fn clone(&self) -> ConfigEntry
fn clone(&self) -> ConfigEntry
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 ConfigEntry
impl Debug for ConfigEntry
Source§impl<'de> Deserialize<'de> for ConfigEntry
impl<'de> Deserialize<'de> for ConfigEntry
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 ConfigEntry
impl PartialEq for ConfigEntry
Source§impl Serialize for ConfigEntry
impl Serialize for ConfigEntry
impl StructuralPartialEq for ConfigEntry
Auto Trait Implementations§
impl Freeze for ConfigEntry
impl RefUnwindSafe for ConfigEntry
impl Send for ConfigEntry
impl Sync for ConfigEntry
impl Unpin for ConfigEntry
impl UnsafeUnpin for ConfigEntry
impl UnwindSafe for ConfigEntry
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