pub enum ConfigAutoupdate {
Variant0(bool),
Variant1(String),
}Expand description
Automatically update to the latest version. Set to true to auto-update, false to disable, or ‘notify’ to show update notifications Untagged union: serde tries each variant in the order below.
Variants§
Trait Implementations§
Source§impl Clone for ConfigAutoupdate
impl Clone for ConfigAutoupdate
Source§fn clone(&self) -> ConfigAutoupdate
fn clone(&self) -> ConfigAutoupdate
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 ConfigAutoupdate
impl Debug for ConfigAutoupdate
Source§impl<'de> Deserialize<'de> for ConfigAutoupdate
impl<'de> Deserialize<'de> for ConfigAutoupdate
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 ConfigAutoupdate
impl PartialEq for ConfigAutoupdate
Source§impl Serialize for ConfigAutoupdate
impl Serialize for ConfigAutoupdate
impl StructuralPartialEq for ConfigAutoupdate
Auto Trait Implementations§
impl Freeze for ConfigAutoupdate
impl RefUnwindSafe for ConfigAutoupdate
impl Send for ConfigAutoupdate
impl Sync for ConfigAutoupdate
impl Unpin for ConfigAutoupdate
impl UnsafeUnpin for ConfigAutoupdate
impl UnwindSafe for ConfigAutoupdate
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