Struct bollard::service::SwarmSpecCaConfigExternalCAs
source · pub struct SwarmSpecCaConfigExternalCAs {
pub protocol: Option<SwarmSpecCaConfigExternalCAsProtocolEnum>,
pub url: Option<String>,
pub options: Option<HashMap<String, String>>,
pub ca_cert: Option<String>,
}
Fields§
§protocol: Option<SwarmSpecCaConfigExternalCAsProtocolEnum>
Protocol for communication with the external CA (currently only cfssl
is supported).
url: Option<String>
URL where certificate signing requests should be sent.
options: Option<HashMap<String, String>>
An object with key/value pairs that are interpreted as protocol-specific options for the external CA driver.
ca_cert: Option<String>
The root CA certificate (in PEM format) this external CA uses to issue TLS certificates (assumed to be to the current swarm root CA certificate if not provided).
Trait Implementations§
source§impl Clone for SwarmSpecCaConfigExternalCAs
impl Clone for SwarmSpecCaConfigExternalCAs
source§fn clone(&self) -> SwarmSpecCaConfigExternalCAs
fn clone(&self) -> SwarmSpecCaConfigExternalCAs
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 SwarmSpecCaConfigExternalCAs
impl Debug for SwarmSpecCaConfigExternalCAs
source§impl Default for SwarmSpecCaConfigExternalCAs
impl Default for SwarmSpecCaConfigExternalCAs
source§fn default() -> SwarmSpecCaConfigExternalCAs
fn default() -> SwarmSpecCaConfigExternalCAs
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SwarmSpecCaConfigExternalCAs
impl<'de> Deserialize<'de> for SwarmSpecCaConfigExternalCAs
source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SwarmSpecCaConfigExternalCAs, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SwarmSpecCaConfigExternalCAs, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for SwarmSpecCaConfigExternalCAs
impl PartialEq for SwarmSpecCaConfigExternalCAs
source§fn eq(&self, other: &SwarmSpecCaConfigExternalCAs) -> bool
fn eq(&self, other: &SwarmSpecCaConfigExternalCAs) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.source§impl Serialize for SwarmSpecCaConfigExternalCAs
impl Serialize for SwarmSpecCaConfigExternalCAs
source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for SwarmSpecCaConfigExternalCAs
Auto Trait Implementations§
impl Freeze for SwarmSpecCaConfigExternalCAs
impl RefUnwindSafe for SwarmSpecCaConfigExternalCAs
impl Send for SwarmSpecCaConfigExternalCAs
impl Sync for SwarmSpecCaConfigExternalCAs
impl Unpin for SwarmSpecCaConfigExternalCAs
impl UnwindSafe for SwarmSpecCaConfigExternalCAs
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)