Struct google_privateca1_beta1::api::SubjectConfig
source · pub struct SubjectConfig {
pub common_name: Option<String>,
pub subject: Option<Subject>,
pub subject_alt_name: Option<SubjectAltNames>,
}
Expand description
These values are used to create the distinguished name and subject alternative name fields in an X.509 certificate.
This type is not used in any activity, and only used as part of another schema.
Fields§
§common_name: Option<String>
Optional. The “common name” of the distinguished name.
subject: Option<Subject>
Required. Contains distinguished name fields such as the location and organization.
subject_alt_name: Option<SubjectAltNames>
Optional. The subject alternative name fields.
Trait Implementations§
source§impl Clone for SubjectConfig
impl Clone for SubjectConfig
source§fn clone(&self) -> SubjectConfig
fn clone(&self) -> SubjectConfig
Returns a copy of the value. Read more
1.0.0 · 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 SubjectConfig
impl Debug for SubjectConfig
source§impl Default for SubjectConfig
impl Default for SubjectConfig
source§fn default() -> SubjectConfig
fn default() -> SubjectConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SubjectConfig
impl<'de> Deserialize<'de> for SubjectConfig
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