#[non_exhaustive]pub struct SigningProfileRevocationRecord {
pub revocation_effective_from: Option<DateTime>,
pub revoked_at: Option<DateTime>,
pub revoked_by: Option<String>,
}
Expand description
Revocation information for a signing profile.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.revocation_effective_from: Option<DateTime>
The time when revocation becomes effective.
revoked_at: Option<DateTime>
The time when the signing profile was revoked.
revoked_by: Option<String>
The identity of the revoker.
Implementations§
source§impl SigningProfileRevocationRecord
impl SigningProfileRevocationRecord
sourcepub fn revocation_effective_from(&self) -> Option<&DateTime>
pub fn revocation_effective_from(&self) -> Option<&DateTime>
The time when revocation becomes effective.
sourcepub fn revoked_at(&self) -> Option<&DateTime>
pub fn revoked_at(&self) -> Option<&DateTime>
The time when the signing profile was revoked.
sourcepub fn revoked_by(&self) -> Option<&str>
pub fn revoked_by(&self) -> Option<&str>
The identity of the revoker.
source§impl SigningProfileRevocationRecord
impl SigningProfileRevocationRecord
sourcepub fn builder() -> SigningProfileRevocationRecordBuilder
pub fn builder() -> SigningProfileRevocationRecordBuilder
Creates a new builder-style object to manufacture SigningProfileRevocationRecord
.
Trait Implementations§
source§impl Clone for SigningProfileRevocationRecord
impl Clone for SigningProfileRevocationRecord
source§fn clone(&self) -> SigningProfileRevocationRecord
fn clone(&self) -> SigningProfileRevocationRecord
Returns a copy 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 PartialEq for SigningProfileRevocationRecord
impl PartialEq for SigningProfileRevocationRecord
source§fn eq(&self, other: &SigningProfileRevocationRecord) -> bool
fn eq(&self, other: &SigningProfileRevocationRecord) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SigningProfileRevocationRecord
Auto Trait Implementations§
impl Freeze for SigningProfileRevocationRecord
impl RefUnwindSafe for SigningProfileRevocationRecord
impl Send for SigningProfileRevocationRecord
impl Sync for SigningProfileRevocationRecord
impl Unpin for SigningProfileRevocationRecord
impl UnwindSafe for SigningProfileRevocationRecord
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.