Struct docker_api_stubs::models::PluginPrivilege
source · [−]pub struct PluginPrivilege {
pub description: Option<String>,
pub name: Option<String>,
pub value: Option<Vec<String>>,
}
Expand description
Describes a permission the user has to accept upon installing the plugin.
Fields
description: Option<String>
name: Option<String>
value: Option<Vec<String>>
Trait Implementations
sourceimpl Clone for PluginPrivilege
impl Clone for PluginPrivilege
sourcefn clone(&self) -> PluginPrivilege
fn clone(&self) -> PluginPrivilege
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PluginPrivilege
impl Debug for PluginPrivilege
sourceimpl<'de> Deserialize<'de> for PluginPrivilege
impl<'de> Deserialize<'de> for PluginPrivilege
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 PartialEq<PluginPrivilege> for PluginPrivilege
impl PartialEq<PluginPrivilege> for PluginPrivilege
sourcefn eq(&self, other: &PluginPrivilege) -> bool
fn eq(&self, other: &PluginPrivilege) -> bool
sourceimpl Serialize for PluginPrivilege
impl Serialize for PluginPrivilege
impl StructuralPartialEq for PluginPrivilege
Auto Trait Implementations
impl RefUnwindSafe for PluginPrivilege
impl Send for PluginPrivilege
impl Sync for PluginPrivilege
impl Unpin for PluginPrivilege
impl UnwindSafe for PluginPrivilege
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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