pub struct PluginSettings {
    pub args: Vec<String>,
    pub devices: Vec<PluginDevice>,
    pub env: Vec<String>,
    pub mounts: Vec<PluginMount>,
}Fields§
§args: Vec<String>args
devices: Vec<PluginDevice>devices
env: Vec<String>env
mounts: Vec<PluginMount>mounts
Implementations§
Source§impl PluginSettings
 
impl PluginSettings
pub fn new( args: Vec<String>, devices: Vec<PluginDevice>, env: Vec<String>, mounts: Vec<PluginMount>, ) -> PluginSettings
Trait Implementations§
Source§impl Clone for PluginSettings
 
impl Clone for PluginSettings
Source§fn clone(&self) -> PluginSettings
 
fn clone(&self) -> PluginSettings
Returns a duplicate 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 PluginSettings
 
impl Debug for PluginSettings
Source§impl<'de> Deserialize<'de> for PluginSettings
 
impl<'de> Deserialize<'de> for PluginSettings
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 PluginSettings
Converts Query Parameters representation (style=form, explode=false) to a PluginSettings value
as specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde deserializer
 
impl FromStr for PluginSettings
Converts Query Parameters representation (style=form, explode=false) to a PluginSettings value as specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde deserializer
Source§impl PartialEq for PluginSettings
 
impl PartialEq for PluginSettings
Source§impl Serialize for PluginSettings
 
impl Serialize for PluginSettings
Source§impl ToString for PluginSettings
Converts the PluginSettings 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 PluginSettings
Converts the PluginSettings 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 PluginSettings
 
impl Validate for PluginSettings
Source§impl<'v_a> ValidateArgs<'v_a> for PluginSettings
 
impl<'v_a> ValidateArgs<'v_a> for PluginSettings
impl StructuralPartialEq for PluginSettings
Auto Trait Implementations§
impl Freeze for PluginSettings
impl RefUnwindSafe for PluginSettings
impl Send for PluginSettings
impl Sync for PluginSettings
impl Unpin for PluginSettings
impl UnwindSafe for PluginSettings
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