Struct bollard_stubs::models::TaskSpecPluginSpec
source · pub struct TaskSpecPluginSpec {
pub name: Option<String>,
pub remote: Option<String>,
pub disabled: Option<bool>,
pub plugin_privilege: Option<Vec<PluginPrivilege>>,
}
Expand description
Plugin spec for the service. (Experimental release only.)
plugin
. NetworkAttachmentSpec is used when the Runtime > field is set to attachment
.
Fields§
§name: Option<String>
The name or ‘alias’ to use for the plugin.
remote: Option<String>
The plugin image reference to use.
disabled: Option<bool>
Disable the plugin once scheduled.
plugin_privilege: Option<Vec<PluginPrivilege>>
Trait Implementations§
source§impl Clone for TaskSpecPluginSpec
impl Clone for TaskSpecPluginSpec
source§fn clone(&self) -> TaskSpecPluginSpec
fn clone(&self) -> TaskSpecPluginSpec
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 TaskSpecPluginSpec
impl Debug for TaskSpecPluginSpec
source§impl Default for TaskSpecPluginSpec
impl Default for TaskSpecPluginSpec
source§fn default() -> TaskSpecPluginSpec
fn default() -> TaskSpecPluginSpec
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TaskSpecPluginSpec
impl<'de> Deserialize<'de> for TaskSpecPluginSpec
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<TaskSpecPluginSpec> for TaskSpecPluginSpec
impl PartialEq<TaskSpecPluginSpec> for TaskSpecPluginSpec
source§fn eq(&self, other: &TaskSpecPluginSpec) -> bool
fn eq(&self, other: &TaskSpecPluginSpec) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.