pub struct DeviceLinkVerification {
pub valid: bool,
pub error: Option<String>,
pub key_state: Option<KeriKeyState>,
pub seal_sequence: Option<u64>,
}Expand description
Result of verifying a device’s link to a KERI identity.
Verification failures are expressed as valid: false with an error message,
not as Rust Err values. Only infrastructure errors (bad input, serialization)
produce Err.
Fields§
§valid: boolWhether the device link verified successfully.
error: Option<String>Human-readable reason if verification failed.
key_state: Option<KeriKeyState>The KERI key state after KEL replay (present on success).
seal_sequence: Option<u64>Sequence number of the IXN event anchoring the attestation seal (if found).
Trait Implementations§
Source§impl Clone for DeviceLinkVerification
impl Clone for DeviceLinkVerification
Source§fn clone(&self) -> DeviceLinkVerification
fn clone(&self) -> DeviceLinkVerification
Returns a duplicate of the value. Read more
1.0.0 · 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 DeviceLinkVerification
impl Debug for DeviceLinkVerification
Auto Trait Implementations§
impl Freeze for DeviceLinkVerification
impl RefUnwindSafe for DeviceLinkVerification
impl Send for DeviceLinkVerification
impl Sync for DeviceLinkVerification
impl Unpin for DeviceLinkVerification
impl UnsafeUnpin for DeviceLinkVerification
impl UnwindSafe for DeviceLinkVerification
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