pub struct PluginConfig {Show 16 fields
pub args: PluginConfigArgs,
pub description: String,
pub docker_version: Option<String>,
pub documentation: String,
pub entrypoint: Vec<String>,
pub env: Vec<PluginEnv>,
pub interface: PluginConfigInterface,
pub ipc_host: bool,
pub linux: PluginConfigLinux,
pub mounts: Vec<PluginMount>,
pub network: PluginConfigNetwork,
pub pid_host: bool,
pub propagated_mount: String,
pub user: Option<PluginConfigUser>,
pub work_dir: String,
pub rootfs: Option<PluginConfigRootfs>,
}Fields§
§args: PluginConfigArgs§description: Stringdescription
docker_version: Option<String>Docker Version used to create the plugin
documentation: Stringdocumentation
entrypoint: Vec<String>entrypoint
env: Vec<PluginEnv>env
interface: PluginConfigInterface§ipc_host: boolipc host
linux: PluginConfigLinux§mounts: Vec<PluginMount>mounts
network: PluginConfigNetwork§pid_host: boolpid host
propagated_mount: Stringpropagated mount
user: Option<PluginConfigUser>§work_dir: Stringwork dir
rootfs: Option<PluginConfigRootfs>Implementations§
Source§impl PluginConfig
impl PluginConfig
pub fn new( args: PluginConfigArgs, description: String, documentation: String, entrypoint: Vec<String>, env: Vec<PluginEnv>, interface: PluginConfigInterface, ipc_host: bool, linux: PluginConfigLinux, mounts: Vec<PluginMount>, network: PluginConfigNetwork, pid_host: bool, propagated_mount: String, work_dir: String, ) -> PluginConfig
Trait Implementations§
Source§impl Clone for PluginConfig
impl Clone for PluginConfig
Source§fn clone(&self) -> PluginConfig
fn clone(&self) -> PluginConfig
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 PluginConfig
impl Debug for PluginConfig
Source§impl<'de> Deserialize<'de> for PluginConfig
impl<'de> Deserialize<'de> for PluginConfig
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 FromStr for PluginConfig
Converts Query Parameters representation (style=form, explode=false) to a PluginConfig value
as specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde deserializer
impl FromStr for PluginConfig
Converts Query Parameters representation (style=form, explode=false) to a PluginConfig value as specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde deserializer
Source§impl PartialEq for PluginConfig
impl PartialEq for PluginConfig
Source§fn eq(&self, other: &PluginConfig) -> bool
fn eq(&self, other: &PluginConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PluginConfig
impl Serialize for PluginConfig
impl StructuralPartialEq for PluginConfig
Source§impl ToString for PluginConfig
Converts the PluginConfig value to the Query Parameters representation (style=form, explode=false)
specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde serializer
impl ToString for PluginConfig
Converts the PluginConfig value to the Query Parameters representation (style=form, explode=false) specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde serializer
Source§impl Validate for PluginConfig
impl Validate for PluginConfig
Source§impl<'v_a> ValidateArgs<'v_a> for PluginConfig
impl<'v_a> ValidateArgs<'v_a> for PluginConfig
Auto Trait Implementations§
impl Freeze for PluginConfig
impl RefUnwindSafe for PluginConfig
impl Send for PluginConfig
impl Sync for PluginConfig
impl Unpin for PluginConfig
impl UnsafeUnpin for PluginConfig
impl UnwindSafe for PluginConfig
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