pub struct ClientCertAuthentication {
pub http_authentication: HttpAuthentication,
pub password: Option<String>,
pub pfx: Option<String>,
pub certificate_thumbprint: Option<String>,
pub certificate_expiration_date: Option<OffsetDateTime>,
pub certificate_subject_name: Option<String>,
}
Fields§
§http_authentication: HttpAuthentication
§password: Option<String>
Gets or sets the certificate password, return value will always be empty.
pfx: Option<String>
Gets or sets the pfx certificate. Accepts certification in base64 encoding, return value will always be empty.
certificate_thumbprint: Option<String>
Gets or sets the certificate thumbprint.
certificate_expiration_date: Option<OffsetDateTime>
Gets or sets the certificate expiration date.
certificate_subject_name: Option<String>
Gets or sets the certificate subject name.
Implementations§
source§impl ClientCertAuthentication
impl ClientCertAuthentication
pub fn new(http_authentication: HttpAuthentication) -> Self
Trait Implementations§
source§impl Clone for ClientCertAuthentication
impl Clone for ClientCertAuthentication
source§fn clone(&self) -> ClientCertAuthentication
fn clone(&self) -> ClientCertAuthentication
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 ClientCertAuthentication
impl Debug for ClientCertAuthentication
source§impl<'de> Deserialize<'de> for ClientCertAuthentication
impl<'de> Deserialize<'de> for ClientCertAuthentication
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<ClientCertAuthentication> for ClientCertAuthentication
impl PartialEq<ClientCertAuthentication> for ClientCertAuthentication
source§fn eq(&self, other: &ClientCertAuthentication) -> bool
fn eq(&self, other: &ClientCertAuthentication) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.