#[non_exhaustive]pub struct SigningJobRevocationRecordBuilder { /* private fields */ }
Expand description
A builder for SigningJobRevocationRecord
.
Implementations§
source§impl SigningJobRevocationRecordBuilder
impl SigningJobRevocationRecordBuilder
sourcepub fn set_reason(self, input: Option<String>) -> Self
pub fn set_reason(self, input: Option<String>) -> Self
A caller-supplied reason for revocation.
sourcepub fn get_reason(&self) -> &Option<String>
pub fn get_reason(&self) -> &Option<String>
A caller-supplied reason for revocation.
sourcepub fn revoked_at(self, input: DateTime) -> Self
pub fn revoked_at(self, input: DateTime) -> Self
The time of revocation.
sourcepub fn set_revoked_at(self, input: Option<DateTime>) -> Self
pub fn set_revoked_at(self, input: Option<DateTime>) -> Self
The time of revocation.
sourcepub fn get_revoked_at(&self) -> &Option<DateTime>
pub fn get_revoked_at(&self) -> &Option<DateTime>
The time of revocation.
sourcepub fn revoked_by(self, input: impl Into<String>) -> Self
pub fn revoked_by(self, input: impl Into<String>) -> Self
The identity of the revoker.
sourcepub fn set_revoked_by(self, input: Option<String>) -> Self
pub fn set_revoked_by(self, input: Option<String>) -> Self
The identity of the revoker.
sourcepub fn get_revoked_by(&self) -> &Option<String>
pub fn get_revoked_by(&self) -> &Option<String>
The identity of the revoker.
sourcepub fn build(self) -> SigningJobRevocationRecord
pub fn build(self) -> SigningJobRevocationRecord
Consumes the builder and constructs a SigningJobRevocationRecord
.
Trait Implementations§
source§impl Clone for SigningJobRevocationRecordBuilder
impl Clone for SigningJobRevocationRecordBuilder
source§fn clone(&self) -> SigningJobRevocationRecordBuilder
fn clone(&self) -> SigningJobRevocationRecordBuilder
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 Default for SigningJobRevocationRecordBuilder
impl Default for SigningJobRevocationRecordBuilder
source§fn default() -> SigningJobRevocationRecordBuilder
fn default() -> SigningJobRevocationRecordBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SigningJobRevocationRecordBuilder
impl PartialEq for SigningJobRevocationRecordBuilder
source§fn eq(&self, other: &SigningJobRevocationRecordBuilder) -> bool
fn eq(&self, other: &SigningJobRevocationRecordBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SigningJobRevocationRecordBuilder
Auto Trait Implementations§
impl Freeze for SigningJobRevocationRecordBuilder
impl RefUnwindSafe for SigningJobRevocationRecordBuilder
impl Send for SigningJobRevocationRecordBuilder
impl Sync for SigningJobRevocationRecordBuilder
impl Unpin for SigningJobRevocationRecordBuilder
impl UnwindSafe for SigningJobRevocationRecordBuilder
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.