pub enum ConfigLspVariant1Value {
Variant0(ConfigLspVariant1ValueVariant0),
Variant1(ConfigLspVariant1ValueVariant1),
}Expand description
Untagged union: serde tries each variant in the order below.
Variants§
Variant0(ConfigLspVariant1ValueVariant0)
Variant1(ConfigLspVariant1ValueVariant1)
Trait Implementations§
Source§impl Clone for ConfigLspVariant1Value
impl Clone for ConfigLspVariant1Value
Source§fn clone(&self) -> ConfigLspVariant1Value
fn clone(&self) -> ConfigLspVariant1Value
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 ConfigLspVariant1Value
impl Debug for ConfigLspVariant1Value
Source§impl<'de> Deserialize<'de> for ConfigLspVariant1Value
impl<'de> Deserialize<'de> for ConfigLspVariant1Value
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 ConfigLspVariant1Value
impl PartialEq for ConfigLspVariant1Value
Source§impl Serialize for ConfigLspVariant1Value
impl Serialize for ConfigLspVariant1Value
impl StructuralPartialEq for ConfigLspVariant1Value
Auto Trait Implementations§
impl Freeze for ConfigLspVariant1Value
impl RefUnwindSafe for ConfigLspVariant1Value
impl Send for ConfigLspVariant1Value
impl Sync for ConfigLspVariant1Value
impl Unpin for ConfigLspVariant1Value
impl UnsafeUnpin for ConfigLspVariant1Value
impl UnwindSafe for ConfigLspVariant1Value
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