pub enum PluginAuthPolicy {
ON_INSTALL,
ON_USE,
}Variants§
Trait Implementations§
Source§impl Clone for PluginAuthPolicy
impl Clone for PluginAuthPolicy
Source§fn clone(&self) -> PluginAuthPolicy
fn clone(&self) -> PluginAuthPolicy
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 PluginAuthPolicy
impl Debug for PluginAuthPolicy
Source§impl<'de> Deserialize<'de> for PluginAuthPolicy
impl<'de> Deserialize<'de> for PluginAuthPolicy
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 PluginAuthPolicy
impl PartialEq for PluginAuthPolicy
Source§fn eq(&self, other: &PluginAuthPolicy) -> bool
fn eq(&self, other: &PluginAuthPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PluginAuthPolicy
impl Serialize for PluginAuthPolicy
impl Eq for PluginAuthPolicy
impl StructuralPartialEq for PluginAuthPolicy
Auto Trait Implementations§
impl Freeze for PluginAuthPolicy
impl RefUnwindSafe for PluginAuthPolicy
impl Send for PluginAuthPolicy
impl Sync for PluginAuthPolicy
impl Unpin for PluginAuthPolicy
impl UnsafeUnpin for PluginAuthPolicy
impl UnwindSafe for PluginAuthPolicy
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