pub struct VerifyResult {
pub valid: bool,
pub identity_status: IdentityStatus,
pub human_id: String,
pub agent_id: String,
pub agent_name: String,
pub agent_type: String,
pub granted_scope: Vec<String>,
pub error_reason: String,
pub anchor: Option<Anchor>,
}Expand description
Deterministic output of verify_bundle. Always check valid first.
Fields§
§valid: bool§identity_status: IdentityStatus§human_id: String§agent_id: String§agent_name: String§agent_type: String§granted_scope: Vec<String>§error_reason: String§anchor: Option<Anchor>Resolved external-identity binding for human_id, populated when
VerifyOptions.anchor_resolver is set on a successful verification.
Lets downstream AuditProviders record an unforgeable chain from
verification event → identity attestation. (SPEC §17.8)
Trait Implementations§
Source§impl Clone for VerifyResult
impl Clone for VerifyResult
Source§fn clone(&self) -> VerifyResult
fn clone(&self) -> VerifyResult
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 Debug for VerifyResult
impl Debug for VerifyResult
Source§impl<'de> Deserialize<'de> for VerifyResult
impl<'de> Deserialize<'de> for VerifyResult
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
Auto Trait Implementations§
impl Freeze for VerifyResult
impl RefUnwindSafe for VerifyResult
impl Send for VerifyResult
impl Sync for VerifyResult
impl Unpin for VerifyResult
impl UnsafeUnpin for VerifyResult
impl UnwindSafe for VerifyResult
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