#[non_exhaustive]pub struct RequestCertificateArgs {
pub csr: String,
pub name: String,
}Expand description
A request to certify a key for a name.
JSON schema
{
"description": "A request to certify a key for a name.",
"type": "object",
"required": [
"csr",
"name"
],
"properties": {
"csr": {
"description": "The certificate signing request, DER, base64. Must ask for exactly `name`\nand nothing else — a request carrying any other name is refused rather\nthan trimmed.",
"type": "string"
},
"name": {
"description": "The name to certify. Must sit within a domain this server's group\ncontrols.",
"type": "string"
}
}
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.csr: StringThe certificate signing request, DER, base64. Must ask for exactly name
and nothing else — a request carrying any other name is refused rather
than trimmed.
name: StringThe name to certify. Must sit within a domain this server’s group controls.
Implementations§
Source§impl RequestCertificateArgs
impl RequestCertificateArgs
Sourcepub fn builder() -> RequestCertificateArgsBuilder
pub fn builder() -> RequestCertificateArgsBuilder
Create an instance of RequestCertificateArgs using the builder syntax
Trait Implementations§
Source§impl Clone for RequestCertificateArgs
impl Clone for RequestCertificateArgs
Source§fn clone(&self) -> RequestCertificateArgs
fn clone(&self) -> RequestCertificateArgs
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 RequestCertificateArgs
impl Debug for RequestCertificateArgs
Source§impl<'de> Deserialize<'de> for RequestCertificateArgs
impl<'de> Deserialize<'de> for RequestCertificateArgs
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
Auto Trait Implementations§
impl Freeze for RequestCertificateArgs
impl RefUnwindSafe for RequestCertificateArgs
impl Send for RequestCertificateArgs
impl Sync for RequestCertificateArgs
impl Unpin for RequestCertificateArgs
impl UnsafeUnpin for RequestCertificateArgs
impl UnwindSafe for RequestCertificateArgs
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