pub enum PluginRole {
KeyStore {
require_password: bool,
},
Indexer,
SubCommand {
name: String,
},
Callback {
name: CallbackName,
},
}Variants
KeyStore
Fields
require_password: boolIndexer
SubCommand
Fields
name: StringCallback
Fields
name: CallbackNameImplementations
Trait Implementations
sourceimpl Clone for PluginRole
impl Clone for PluginRole
sourcefn clone(&self) -> PluginRole
fn clone(&self) -> PluginRole
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for PluginRole
impl Debug for PluginRole
sourceimpl<'de> Deserialize<'de> for PluginRole
impl<'de> Deserialize<'de> for PluginRole
sourcefn 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
sourceimpl Hash for PluginRole
impl Hash for PluginRole
sourceimpl PartialEq<PluginRole> for PluginRole
impl PartialEq<PluginRole> for PluginRole
sourcefn eq(&self, other: &PluginRole) -> bool
fn eq(&self, other: &PluginRole) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourceimpl Serialize for PluginRole
impl Serialize for PluginRole
impl Eq for PluginRole
impl StructuralEq for PluginRole
impl StructuralPartialEq for PluginRole
Auto Trait Implementations
impl RefUnwindSafe for PluginRole
impl Send for PluginRole
impl Sync for PluginRole
impl Unpin for PluginRole
impl UnwindSafe for PluginRole
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more