pub struct CertificateConfigPair {
pub cert: Option<CertificateConfig>,
pub key: Option<CertificateConfig>,
}Expand description
CertificateConfigPair configures pairs of certificates, which is used for client certificate and key pairs under a registry.
This type is not used in any activity, and only used as part of another schema.
Fields§
§cert: Option<CertificateConfig>Cert configures the client certificate.
key: Option<CertificateConfig>Key configures the client private key. Optional.
Trait Implementations§
Source§impl Clone for CertificateConfigPair
impl Clone for CertificateConfigPair
Source§fn clone(&self) -> CertificateConfigPair
fn clone(&self) -> CertificateConfigPair
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 CertificateConfigPair
impl Debug for CertificateConfigPair
Source§impl Default for CertificateConfigPair
impl Default for CertificateConfigPair
Source§fn default() -> CertificateConfigPair
fn default() -> CertificateConfigPair
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CertificateConfigPair
impl<'de> Deserialize<'de> for CertificateConfigPair
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 Serialize for CertificateConfigPair
impl Serialize for CertificateConfigPair
impl Part for CertificateConfigPair
Auto Trait Implementations§
impl Freeze for CertificateConfigPair
impl RefUnwindSafe for CertificateConfigPair
impl Send for CertificateConfigPair
impl Sync for CertificateConfigPair
impl Unpin for CertificateConfigPair
impl UnwindSafe for CertificateConfigPair
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