pub struct CredentialRecordSummary {
pub edge_id: String,
pub principal: String,
pub allowed_namespaces: Vec<String>,
pub keys: Vec<CredentialKeySummary>,
pub revoked_at_ms: Option<u64>,
pub grants_edge: bool,
pub grants_admin: bool,
pub grants_attest_email: bool,
}Expand description
One stored credential’s operator-visible summary — the buffered analog of
the wire CredentialSummary.
Fields§
§edge_id: StringThe caller identity string this record is keyed by.
principal: StringStable subject recorded for audit; survives key rotation.
allowed_namespaces: Vec<String>Conversation-id namespace prefixes this record may write into.
keys: Vec<CredentialKeySummary>This record’s key set, oldest entry first.
revoked_at_ms: Option<u64>Unix ms this credential was revoked, if it has been. Present means the record is a tombstone: it verifies nothing and never will again, and it is listed only so an operator can see when it was revoked. Any rendering of this record MUST say so — a revoked credential must never read as live.
grants_edge: boolWhether this record clears the control plane’s transport gate and may sign a turn’s identity envelope.
grants_admin: boolWhether this record is accepted as the admin service credential.
grants_attest_email: boolWhether this record is accepted as the backend-email-attestation
service credential (PersonaService.AttestVerifiedEmail).
Trait Implementations§
Source§impl Clone for CredentialRecordSummary
impl Clone for CredentialRecordSummary
Source§fn clone(&self) -> CredentialRecordSummary
fn clone(&self) -> CredentialRecordSummary
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CredentialRecordSummary
impl Debug for CredentialRecordSummary
impl Eq for CredentialRecordSummary
Source§impl From<CredentialSummary> for CredentialRecordSummary
impl From<CredentialSummary> for CredentialRecordSummary
Source§fn from(wire: WireCredentialSummary) -> Self
fn from(wire: WireCredentialSummary) -> Self
Source§impl PartialEq for CredentialRecordSummary
impl PartialEq for CredentialRecordSummary
impl StructuralPartialEq for CredentialRecordSummary
Auto Trait Implementations§
impl Freeze for CredentialRecordSummary
impl RefUnwindSafe for CredentialRecordSummary
impl Send for CredentialRecordSummary
impl Sync for CredentialRecordSummary
impl Unpin for CredentialRecordSummary
impl UnsafeUnpin for CredentialRecordSummary
impl UnwindSafe for CredentialRecordSummary
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
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
Source§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
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> ⓘ
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> ⓘ
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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request