Struct grpcio_sys::grpc_ssl_pem_key_cert_pair
source · #[repr(C)]pub struct grpc_ssl_pem_key_cert_pair {
pub private_key: *const c_char,
pub cert_chain: *const c_char,
}
Expand description
Object that holds a private key / certificate chain pair in PEM format.
Fields§
§private_key: *const c_char
private_key is the NULL-terminated string containing the PEM encoding of the client’s private key.
cert_chain: *const c_char
cert_chain is the NULL-terminated string containing the PEM encoding of the client’s certificate chain.
Trait Implementations§
source§impl Clone for grpc_ssl_pem_key_cert_pair
impl Clone for grpc_ssl_pem_key_cert_pair
source§fn clone(&self) -> grpc_ssl_pem_key_cert_pair
fn clone(&self) -> grpc_ssl_pem_key_cert_pair
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 grpc_ssl_pem_key_cert_pair
impl Debug for grpc_ssl_pem_key_cert_pair
impl Copy for grpc_ssl_pem_key_cert_pair
Auto Trait Implementations§
impl RefUnwindSafe for grpc_ssl_pem_key_cert_pair
impl !Send for grpc_ssl_pem_key_cert_pair
impl !Sync for grpc_ssl_pem_key_cert_pair
impl Unpin for grpc_ssl_pem_key_cert_pair
impl UnwindSafe for grpc_ssl_pem_key_cert_pair
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