Struct test_cert_gen::CertAndPrivateKey
source · [−]pub struct CertAndPrivateKey {
pub cert: Cert,
pub key: PrivateKey,
}
Fields
cert: Cert
key: PrivateKey
Implementations
sourceimpl CertAndPrivateKey
impl CertAndPrivateKey
sourcepub fn to_pem_incorrect(&self) -> String
pub fn to_pem_incorrect(&self) -> String
Incorrect because key is serialized incorrectly
Trait Implementations
sourceimpl Clone for CertAndPrivateKey
impl Clone for CertAndPrivateKey
sourcefn clone(&self) -> CertAndPrivateKey
fn clone(&self) -> CertAndPrivateKey
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CertAndPrivateKey
impl Debug for CertAndPrivateKey
sourceimpl PartialEq<CertAndPrivateKey> for CertAndPrivateKey
impl PartialEq<CertAndPrivateKey> for CertAndPrivateKey
sourcefn eq(&self, other: &CertAndPrivateKey) -> bool
fn eq(&self, other: &CertAndPrivateKey) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CertAndPrivateKey) -> bool
fn ne(&self, other: &CertAndPrivateKey) -> bool
This method tests for !=
.
impl StructuralPartialEq for CertAndPrivateKey
Auto Trait Implementations
impl RefUnwindSafe for CertAndPrivateKey
impl Send for CertAndPrivateKey
impl Sync for CertAndPrivateKey
impl Unpin for CertAndPrivateKey
impl UnwindSafe for CertAndPrivateKey
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more