pub struct Ssl {
pub version: String,
pub cipher: String,
pub bits: i32,
pub client_dn: String,
pub client_serial: String,
pub issuer_dn: String,
}Expand description
The TLS of a session, PgBackendSSLStatus. An empty text of the client certificate is null, as for a session with no client certificate.
Fields§
§version: StringThe protocol, as SSL_get_version gives it, for example TLSv1.3.
cipher: StringThe cipher suite, by its name in OpenSSL.
bits: i32The bits of the key of the cipher.
client_dn: StringThe subject of the client certificate, in the form of X509_NAME_to_cstring.
client_serial: StringThe serial number of the client certificate, in decimal.
issuer_dn: StringThe issuer of the client certificate, in the form of X509_NAME_to_cstring.
Trait Implementations§
impl Eq for Ssl
impl StructuralPartialEq for Ssl
Auto Trait Implementations§
impl Freeze for Ssl
impl RefUnwindSafe for Ssl
impl Send for Ssl
impl Sync for Ssl
impl Unpin for Ssl
impl UnsafeUnpin for Ssl
impl UnwindSafe for Ssl
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