pub struct VerifiedSdkIdentity {
pub version: Option<String>,
}Expand description
The SDK identity an authenticated channel established.
This is the verified counterpart, populated from the AAASM-3569 IPC
handshake (which authenticates the agent’s Ed25519 identity bound to its
configured agent id). When no authenticated version reference is available
— no handshake completed, or the handshake carries no version — the fields
are None and the classifier returns SdkIdentityVerdict::Unverifiable
rather than guessing.
Fields§
§version: Option<String>The SDK version established over the authenticated channel, when the
channel carries one. None when only presence (not a version) was
authenticated, or when no handshake completed.
Implementations§
Source§impl VerifiedSdkIdentity
impl VerifiedSdkIdentity
Sourcepub fn none() -> Self
pub fn none() -> Self
No verified signal is available (no handshake / unsupported). Classifies
version comparisons as SdkIdentityVerdict::Unverifiable.
Sourcepub fn with_version(version: impl Into<String>) -> Self
pub fn with_version(version: impl Into<String>) -> Self
A verified identity carrying an authenticated version reference.
Sourcepub fn is_available(&self) -> bool
pub fn is_available(&self) -> bool
Whether any verified reference is available to compare against.
Trait Implementations§
Source§impl Clone for VerifiedSdkIdentity
impl Clone for VerifiedSdkIdentity
Source§fn clone(&self) -> VerifiedSdkIdentity
fn clone(&self) -> VerifiedSdkIdentity
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more