pub struct EndpointMtlsConfigIn {
pub identity: String,
pub server_ca_cert: Option<String>,
}
Fields§
§identity: String
A PEM encoded private key and X509 certificate to identify the webhook sender.
server_ca_cert: Option<String>
A PEM encoded X509 certificate used to verify the webhook receiver’s certificate.
Implementations§
Source§impl EndpointMtlsConfigIn
impl EndpointMtlsConfigIn
pub fn new(identity: String) -> EndpointMtlsConfigIn
Trait Implementations§
Source§impl Clone for EndpointMtlsConfigIn
impl Clone for EndpointMtlsConfigIn
Source§fn clone(&self) -> EndpointMtlsConfigIn
fn clone(&self) -> EndpointMtlsConfigIn
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 EndpointMtlsConfigIn
impl Debug for EndpointMtlsConfigIn
Source§impl Default for EndpointMtlsConfigIn
impl Default for EndpointMtlsConfigIn
Source§fn default() -> EndpointMtlsConfigIn
fn default() -> EndpointMtlsConfigIn
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EndpointMtlsConfigIn
impl<'de> Deserialize<'de> for EndpointMtlsConfigIn
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 EndpointMtlsConfigIn
impl PartialEq for EndpointMtlsConfigIn
Source§impl Serialize for EndpointMtlsConfigIn
impl Serialize for EndpointMtlsConfigIn
impl StructuralPartialEq for EndpointMtlsConfigIn
Auto Trait Implementations§
impl Freeze for EndpointMtlsConfigIn
impl RefUnwindSafe for EndpointMtlsConfigIn
impl Send for EndpointMtlsConfigIn
impl Sync for EndpointMtlsConfigIn
impl Unpin for EndpointMtlsConfigIn
impl UnwindSafe for EndpointMtlsConfigIn
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