pub struct PluginConfigInterface {
pub protocol_scheme: Option<String>,
pub socket: String,
pub types: Vec<PluginInterfaceType>,
}
Expand description
PluginConfigInterface : PluginConfigInterface The interface between Docker and the plugin
Fields§
§protocol_scheme: Option<String>
Protocol to use for clients connecting to the plugin.
socket: String
socket
types: Vec<PluginInterfaceType>
types
Implementations§
Source§impl PluginConfigInterface
impl PluginConfigInterface
Sourcepub fn new(
socket: String,
types: Vec<PluginInterfaceType>,
) -> PluginConfigInterface
pub fn new( socket: String, types: Vec<PluginInterfaceType>, ) -> PluginConfigInterface
PluginConfigInterface The interface between Docker and the plugin
Trait Implementations§
Source§impl Clone for PluginConfigInterface
impl Clone for PluginConfigInterface
Source§fn clone(&self) -> PluginConfigInterface
fn clone(&self) -> PluginConfigInterface
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 PluginConfigInterface
impl Debug for PluginConfigInterface
Source§impl Default for PluginConfigInterface
impl Default for PluginConfigInterface
Source§fn default() -> PluginConfigInterface
fn default() -> PluginConfigInterface
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PluginConfigInterface
impl<'de> Deserialize<'de> for PluginConfigInterface
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 for PluginConfigInterface
impl PartialEq for PluginConfigInterface
Source§impl Serialize for PluginConfigInterface
impl Serialize for PluginConfigInterface
impl StructuralPartialEq for PluginConfigInterface
Auto Trait Implementations§
impl Freeze for PluginConfigInterface
impl RefUnwindSafe for PluginConfigInterface
impl Send for PluginConfigInterface
impl Sync for PluginConfigInterface
impl Unpin for PluginConfigInterface
impl UnwindSafe for PluginConfigInterface
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