Struct gapi_grpc::google::cloud::security::privateca::v1::certificate_revocation_list::RevokedCertificate [−][src]
Describes a revoked [Certificate][google.cloud.security.privateca.v1.Certificate].
Fields
certificate: String
The resource name for the [Certificate][google.cloud.security.privateca.v1.Certificate] in the format
projects/*/locations/*/caPools/*/certificates/*
.
hex_serial_number: String
The serial number of the [Certificate][google.cloud.security.privateca.v1.Certificate].
revocation_reason: i32
The reason the [Certificate][google.cloud.security.privateca.v1.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][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
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][+]
U: From<T>,
impl<T> IntoRequest<T> for T
[src][+]
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,