pub struct GetCertificateRequest<A, K = String> {
pub auth_code: A,
pub public_key: K,
pub name: ClientName,
}Expand description
Request body of the /remote/certificate API to issue a client certificate.
Fields§
§auth_code: AA secret code that the client needs to authenticate.
public_key: KThe public key of the certificate (the private key stays with the client).
name: ClientNameUniquely identifies the client, will be set as the the common name of the issued certificate.
Trait Implementations§
Source§impl<'de, A, K> Deserialize<'de> for GetCertificateRequest<A, K>where
A: Deserialize<'de>,
K: Deserialize<'de>,
impl<'de, A, K> Deserialize<'de> for GetCertificateRequest<A, K>where
A: Deserialize<'de>,
K: Deserialize<'de>,
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<A, K> Freeze for GetCertificateRequest<A, K>
impl<A, K> RefUnwindSafe for GetCertificateRequest<A, K>where
A: RefUnwindSafe,
K: RefUnwindSafe,
impl<A, K> Send for GetCertificateRequest<A, K>
impl<A, K> Sync for GetCertificateRequest<A, K>
impl<A, K> Unpin for GetCertificateRequest<A, K>
impl<A, K> UnwindSafe for GetCertificateRequest<A, K>where
A: UnwindSafe,
K: UnwindSafe,
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request