pub enum PluginInstanceName {
Anon {
uid: String,
},
Named {
name: String,
},
Mono,
}Variants§
Implementations§
Trait Implementations§
source§impl Clone for PluginInstanceName
impl Clone for PluginInstanceName
source§fn clone(&self) -> PluginInstanceName
fn clone(&self) -> PluginInstanceName
Returns a copy 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 PluginInstanceName
impl Debug for PluginInstanceName
source§impl<'de> Deserialize<'de> for PluginInstanceName
impl<'de> Deserialize<'de> for PluginInstanceName
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 From<String> for PluginInstanceName
impl From<String> for PluginInstanceName
source§impl FromStr for PluginInstanceName
impl FromStr for PluginInstanceName
source§impl Hash for PluginInstanceName
impl Hash for PluginInstanceName
source§impl PartialEq for PluginInstanceName
impl PartialEq for PluginInstanceName
source§fn eq(&self, other: &PluginInstanceName) -> bool
fn eq(&self, other: &PluginInstanceName) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for PluginInstanceName
impl Serialize for PluginInstanceName
source§impl ToString for PluginInstanceName
impl ToString for PluginInstanceName
impl Eq for PluginInstanceName
impl StructuralPartialEq for PluginInstanceName
Auto Trait Implementations§
impl Freeze for PluginInstanceName
impl RefUnwindSafe for PluginInstanceName
impl Send for PluginInstanceName
impl Sync for PluginInstanceName
impl Unpin for PluginInstanceName
impl UnwindSafe for PluginInstanceName
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