Struct google_privateca1_beta1::api::CertificateConfig
source · [−]pub struct CertificateConfig {
pub public_key: Option<PublicKey>,
pub reusable_config: Option<ReusableConfigWrapper>,
pub subject_config: Option<SubjectConfig>,
}
Expand description
A CertificateConfig describes an X.509 certificate or CSR that is to be created, as an alternative to using ASN.1.
This type is not used in any activity, and only used as part of another schema.
Fields
public_key: Option<PublicKey>
Optional. The public key that corresponds to this config. This is, for example, used when issuing Certificates, but not when creating a self-signed CertificateAuthority or CertificateAuthority CSR.
reusable_config: Option<ReusableConfigWrapper>
Required. Describes how some of the technical fields in a certificate should be populated.
subject_config: Option<SubjectConfig>
Required. Specifies some of the values in a certificate that are related to the subject.
Trait Implementations
sourceimpl Clone for CertificateConfig
impl Clone for CertificateConfig
sourcefn clone(&self) -> CertificateConfig
fn clone(&self) -> CertificateConfig
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 CertificateConfig
impl Debug for CertificateConfig
sourceimpl Default for CertificateConfig
impl Default for CertificateConfig
sourcefn default() -> CertificateConfig
fn default() -> CertificateConfig
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for CertificateConfig
impl<'de> Deserialize<'de> for CertificateConfig
sourcefn 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
sourceimpl Serialize for CertificateConfig
impl Serialize for CertificateConfig
impl Part for CertificateConfig
Auto Trait Implementations
impl RefUnwindSafe for CertificateConfig
impl Send for CertificateConfig
impl Sync for CertificateConfig
impl Unpin for CertificateConfig
impl UnwindSafe for CertificateConfig
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> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more