pub struct ReceiptSignerAdmissionV1 {
pub key_id: String,
pub public_key_digest: Sha256Digest,
pub admitted_at: UtcTimestamp,
pub expires_at: UtcTimestamp,
pub revoked_at: Option<UtcTimestamp>,
}Expand description
Host-owned trust snapshot authorizing one receipt-signing key.
Resolve this snapshot and the verifying key from trusted host configuration, never from receipt-supplied key material. This is not an admission token.
Fields§
§key_id: String§public_key_digest: Sha256Digest§admitted_at: UtcTimestamp§expires_at: UtcTimestamp§revoked_at: Option<UtcTimestamp>Trait Implementations§
Source§impl Clone for ReceiptSignerAdmissionV1
impl Clone for ReceiptSignerAdmissionV1
Source§fn clone(&self) -> ReceiptSignerAdmissionV1
fn clone(&self) -> ReceiptSignerAdmissionV1
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Forget for ReceiptSignerAdmissionV1
impl Freeze for ReceiptSignerAdmissionV1
impl Move for ReceiptSignerAdmissionV1
impl RefUnwindSafe for ReceiptSignerAdmissionV1
impl Send for ReceiptSignerAdmissionV1where
RawVecInner: Send,
impl Sync for ReceiptSignerAdmissionV1where
RawVecInner: Sync,
impl Unpin for ReceiptSignerAdmissionV1
impl UnsafeUnpin for ReceiptSignerAdmissionV1
impl UnwindSafe for ReceiptSignerAdmissionV1where
RawVecInner: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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 more