Struct gapi_grpc::google::cloud::security::privateca::v1beta1::certificate_revocation_list::RevokedCertificate[][src]

pub struct RevokedCertificate {
    pub certificate: String,
    pub hex_serial_number: String,
    pub revocation_reason: i32,
}

Describes a revoked [Certificate][google.cloud.security.privateca.v1beta1.Certificate].

Fields

certificate: String

The resource path for the [Certificate][google.cloud.security.privateca.v1beta1.Certificate] in the format projects/*/locations/*/certificateAuthorities/*/certificates/*.

hex_serial_number: String

The serial number of the [Certificate][google.cloud.security.privateca.v1beta1.Certificate].

revocation_reason: i32

The reason the [Certificate][google.cloud.security.privateca.v1beta1.Certificate] was revoked.

Implementations

impl RevokedCertificate[src]

pub fn revocation_reason(&self) -> RevocationReason[src]

Returns the enum value of revocation_reason, or the default if the field is set to an invalid enum value.

pub fn set_revocation_reason(&mut self, value: RevocationReason)[src]

Sets revocation_reason to the provided enum value.

Trait Implementations

impl Clone for RevokedCertificate[src]

impl Debug for RevokedCertificate[src]

impl Default for RevokedCertificate[src]

impl Message for RevokedCertificate[src]

impl PartialEq<RevokedCertificate> for RevokedCertificate[src]

impl StructuralPartialEq for RevokedCertificate[src]

Auto Trait Implementations

impl RefUnwindSafe for RevokedCertificate

impl Send for RevokedCertificate

impl Sync for RevokedCertificate

impl Unpin for RevokedCertificate

impl UnwindSafe for RevokedCertificate

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]