pub struct SubjectConfig {
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§
§subject: Option<Subject>Optional. Contains distinguished name fields such as the common name, 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 duplicate 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
Source§impl Serialize for SubjectConfig
impl Serialize for SubjectConfig
impl Part for SubjectConfig
Auto Trait Implementations§
impl Freeze for SubjectConfig
impl RefUnwindSafe for SubjectConfig
impl Send for SubjectConfig
impl Sync for SubjectConfig
impl Unpin for SubjectConfig
impl UnwindSafe for SubjectConfig
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