useserde::Deserialize;useserde::Serialize;usecrate::id::ClientName;/// Request body of the /remote/certificate API to issue a client certificate.
#[derive(Debug, Serialize, Deserialize)]pubstructGetCertificateRequest<A, K = String>{/// A secret code that the client needs to authenticate.
pubauth_code: A,
/// The public key of the certificate (the private key stays with the client).
pubpublic_key: K,
/// Uniquely identifies the client, will be set as the the common name of the issued certificate.
pubname: ClientName,
}