Struct gapi_grpc::google::cloud::security::privateca::v1beta1::certificate_description::SubjectDescription[][src]

pub struct SubjectDescription {
    pub subject: Option<Subject>,
    pub common_name: String,
    pub subject_alt_name: Option<SubjectAltNames>,
    pub hex_serial_number: String,
    pub lifetime: Option<Duration>,
    pub not_before_time: Option<Timestamp>,
    pub not_after_time: Option<Timestamp>,
}

These values describe fields in an issued X.509 certificate such as the distinguished name, subject alternative names, serial number, and lifetime.

Fields

subject: Option<Subject>

Contains distinguished name fields such as the location and organization.

common_name: String

The “common name” of the distinguished name.

subject_alt_name: Option<SubjectAltNames>

The subject alternative name fields.

hex_serial_number: String

The serial number encoded in lowercase hexadecimal.

lifetime: Option<Duration>

For convenience, the actual lifetime of an issued certificate. Corresponds to ‘not_after_time’ - ‘not_before_time’.

not_before_time: Option<Timestamp>

The time at which the certificate becomes valid.

not_after_time: Option<Timestamp>

The time at which the certificate expires.

Trait Implementations

impl Clone for SubjectDescription[src]

impl Debug for SubjectDescription[src]

impl Default for SubjectDescription[src]

impl Message for SubjectDescription[src]

impl PartialEq<SubjectDescription> for SubjectDescription[src]

impl StructuralPartialEq for SubjectDescription[src]

Auto Trait Implementations

impl RefUnwindSafe for SubjectDescription

impl Send for SubjectDescription

impl Sync for SubjectDescription

impl Unpin for SubjectDescription

impl UnwindSafe for SubjectDescription

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]