pub struct RobotIdentityChainResult {
pub ok: bool,
pub reason: Option<String>,
pub robot_did: Option<String>,
pub issuer_did: Option<String>,
pub root_did: Option<String>,
pub attributes: Option<Value>,
pub hardware_rooted: bool,
}Expand description
Outcome of verify_robot_identity_chain.
ok is true only if the authority chain verified against the pinned root AND
the vouched key is hardware-rooted for the same robot. On failure reason
carries a structured code matching the Python reference exactly.
Fields§
§ok: bool§reason: Option<String>§robot_did: Option<String>§issuer_did: Option<String>§root_did: Option<String>§attributes: Option<Value>§hardware_rooted: boolTrait Implementations§
Source§impl Clone for RobotIdentityChainResult
impl Clone for RobotIdentityChainResult
Source§impl Debug for RobotIdentityChainResult
impl Debug for RobotIdentityChainResult
impl Eq for RobotIdentityChainResult
Source§impl PartialEq for RobotIdentityChainResult
impl PartialEq for RobotIdentityChainResult
impl StructuralPartialEq for RobotIdentityChainResult
Auto Trait Implementations§
impl Forget for RobotIdentityChainResult
impl Freeze for RobotIdentityChainResultwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Value>: Freeze,
PhantomData<usize>: Freeze,
PhantomData<Bucket<String, Value>>: Freeze,
impl Move for RobotIdentityChainResult
impl RefUnwindSafe for RobotIdentityChainResult
impl Send for RobotIdentityChainResult
impl Sync for RobotIdentityChainResult
impl Unpin for RobotIdentityChainResult
impl UnsafeUnpin for RobotIdentityChainResultwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
PhantomData<Bucket<String, Value>>: UnsafeUnpin,
impl UnwindSafe for RobotIdentityChainResult
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
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
Compare self to
key and return true if they are equal.