Struct gapi_grpc::google::cloud::security::privateca::v1::certificate::RevocationDetails[][src]

pub struct RevocationDetails {
    pub revocation_state: i32,
    pub revocation_time: Option<Timestamp>,
}

Describes fields that are relavent to the revocation of a [Certificate][google.cloud.security.privateca.v1.Certificate].

Fields

revocation_state: i32

Indicates why a [Certificate][google.cloud.security.privateca.v1.Certificate] was revoked.

revocation_time: Option<Timestamp>

The time at which this [Certificate][google.cloud.security.privateca.v1.Certificate] was revoked.

Implementations

impl RevocationDetails[src]

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

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

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

Sets revocation_state to the provided enum value.

Trait Implementations

impl Clone for RevocationDetails[src]

impl Debug for RevocationDetails[src]

impl Default for RevocationDetails[src]

impl Message for RevocationDetails[src]

impl PartialEq<RevocationDetails> for RevocationDetails[src]

impl StructuralPartialEq for RevocationDetails[src]

Auto Trait Implementations

impl RefUnwindSafe for RevocationDetails

impl Send for RevocationDetails

impl Sync for RevocationDetails

impl Unpin for RevocationDetails

impl UnwindSafe for RevocationDetails

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]