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