pub struct TrustedKey {
pub key_id: &'static str,
pub publisher: &'static str,
pub first_party: bool,
pub ed25519_b64: &'static str,
}Expand description
A pinned trust anchor. Only the PUBLIC key is embedded — the matching private key is held solely in the publisher’s release infrastructure and never enters either repo.
Fields§
§key_id: &'static str§publisher: &'static str§first_party: bool§ed25519_b64: &'static strbase64 of the 32-byte raw Ed25519 public key.
Auto Trait Implementations§
impl Freeze for TrustedKey
impl RefUnwindSafe for TrustedKey
impl Send for TrustedKey
impl Sync for TrustedKey
impl Unpin for TrustedKey
impl UnsafeUnpin for TrustedKey
impl UnwindSafe for TrustedKey
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<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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