pub struct NewCertificate {
pub chain_pem: String,
pub key_pem: String,
pub zone_id: Uuid,
}Expand description
POST /certificates body for a zone certificate. Debug does not show the key.
Fields§
§chain_pem: StringPEM chain, leaf first, up to 64 KiB.
key_pem: StringPEM private key of the leaf, up to 16 KiB. Core stores it as PKCS#8.
zone_id: UuidThe zone; every SAN name must be served by it.
Trait Implementations§
Source§impl Clone for NewCertificate
impl Clone for NewCertificate
Source§fn clone(&self) -> NewCertificate
fn clone(&self) -> NewCertificate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NewCertificate
impl Debug for NewCertificate
Auto Trait Implementations§
impl Freeze for NewCertificate
impl RefUnwindSafe for NewCertificate
impl Send for NewCertificate
impl Sync for NewCertificate
impl Unpin for NewCertificate
impl UnsafeUnpin for NewCertificate
impl UnwindSafe for NewCertificate
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