pub struct DockerConnectionConfig {
pub cacert: Option<String>,
pub cert: Option<String>,
pub host: Option<String>,
pub key: Option<String>,
}Fields§
§cacert: Option<String>CaCert is the CA certificate for Docker connection embedded in the configuration in PEM format.
cert: Option<String>Cert is the client certificate in PEM format embedded in the configuration.
host: Option<String>Host is the docker connect URL.
key: Option<String>Key is the client key in PEM format embedded in the configuration.
Implementations§
Source§impl DockerConnectionConfig
impl DockerConnectionConfig
pub fn new() -> DockerConnectionConfig
Trait Implementations§
Source§impl Clone for DockerConnectionConfig
impl Clone for DockerConnectionConfig
Source§fn clone(&self) -> DockerConnectionConfig
fn clone(&self) -> DockerConnectionConfig
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 DockerConnectionConfig
impl Debug for DockerConnectionConfig
Source§impl<'de> Deserialize<'de> for DockerConnectionConfig
impl<'de> Deserialize<'de> for DockerConnectionConfig
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 DockerConnectionConfig
Converts Query Parameters representation (style=form, explode=false) to a DockerConnectionConfig value
as specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde deserializer
impl FromStr for DockerConnectionConfig
Converts Query Parameters representation (style=form, explode=false) to a DockerConnectionConfig value as specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde deserializer
Source§impl PartialEq for DockerConnectionConfig
impl PartialEq for DockerConnectionConfig
Source§impl Serialize for DockerConnectionConfig
impl Serialize for DockerConnectionConfig
Source§impl ToString for DockerConnectionConfig
Converts the DockerConnectionConfig 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 DockerConnectionConfig
Converts the DockerConnectionConfig 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 DockerConnectionConfig
impl Validate for DockerConnectionConfig
Source§impl<'v_a> ValidateArgs<'v_a> for DockerConnectionConfig
impl<'v_a> ValidateArgs<'v_a> for DockerConnectionConfig
impl StructuralPartialEq for DockerConnectionConfig
Auto Trait Implementations§
impl Freeze for DockerConnectionConfig
impl RefUnwindSafe for DockerConnectionConfig
impl Send for DockerConnectionConfig
impl Sync for DockerConnectionConfig
impl Unpin for DockerConnectionConfig
impl UnwindSafe for DockerConnectionConfig
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