Struct bollard_stubs::models::PluginPrivilege
source · pub struct PluginPrivilege {
pub name: Option<String>,
pub description: Option<String>,
pub value: Option<Vec<String>>,
}
Expand description
Describes a permission the user has to accept upon installing the plugin.
Fields§
§name: Option<String>
§description: Option<String>
§value: Option<Vec<String>>
Trait Implementations§
source§impl Clone for PluginPrivilege
impl Clone for PluginPrivilege
source§fn clone(&self) -> PluginPrivilege
fn clone(&self) -> PluginPrivilege
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 PluginPrivilege
impl Debug for PluginPrivilege
source§impl Default for PluginPrivilege
impl Default for PluginPrivilege
source§fn default() -> PluginPrivilege
fn default() -> PluginPrivilege
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PluginPrivilege
impl<'de> Deserialize<'de> for PluginPrivilege
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<PluginPrivilege> for PluginPrivilege
impl PartialEq<PluginPrivilege> for PluginPrivilege
source§fn eq(&self, other: &PluginPrivilege) -> bool
fn eq(&self, other: &PluginPrivilege) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.