pub struct IdentityInfo {
pub hostname: String,
pub ca_fingerprint: String,
pub renewal: RenewalHealth,
}Expand description
Serializable, key-redacting projection of Identity for cross-process and
cross-language consumers (ADR-020 reactive plane / wishlist 5.3).
The private key and all raw PEM material are omitted — only the non-sensitive scheduling and anchor facts that a consumer needs to surface “who is this node and when does its identity expire?” without leaking key material.
Fields§
§hostname: StringThis node’s hostname (its certificate CN).
ca_fingerprint: StringSHA-256 (hex) of the CA cert DER — the mesh anchor the peer pins to.
renewal: RenewalHealthRenewal and expiry schedule.
Trait Implementations§
Source§impl Clone for IdentityInfo
impl Clone for IdentityInfo
Source§fn clone(&self) -> IdentityInfo
fn clone(&self) -> IdentityInfo
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 moreSource§impl ComposeSchema for IdentityInfo
impl ComposeSchema for IdentityInfo
Source§impl Debug for IdentityInfo
impl Debug for IdentityInfo
Source§impl<'de> Deserialize<'de> for IdentityInfo
impl<'de> Deserialize<'de> for IdentityInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&Identity> for IdentityInfo
impl From<&Identity> for IdentityInfo
Source§impl Serialize for IdentityInfo
impl Serialize for IdentityInfo
Auto Trait Implementations§
impl Freeze for IdentityInfo
impl RefUnwindSafe for IdentityInfo
impl Send for IdentityInfo
impl Sync for IdentityInfo
impl Unpin for IdentityInfo
impl UnsafeUnpin for IdentityInfo
impl UnwindSafe for IdentityInfo
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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