pub struct TrustedRoots {
pub dids: Vec<String>,
pub keys: BTreeMap<String, KeyEntry>,
}Expand description
The trusted starting points for a delegation chain, normalized
(crate::did_web::normalize_root): the DIDs, and the keys a {did: key}
map gave for some of them (used for those issuers too).
Fields§
§dids: Vec<String>§keys: BTreeMap<String, KeyEntry>Trait Implementations§
Source§impl Clone for TrustedRoots
impl Clone for TrustedRoots
Source§impl Debug for TrustedRoots
impl Debug for TrustedRoots
Source§impl Default for TrustedRoots
impl Default for TrustedRoots
impl Eq for TrustedRoots
Source§impl PartialEq for TrustedRoots
impl PartialEq for TrustedRoots
impl StructuralPartialEq for TrustedRoots
Auto Trait Implementations§
impl Forget for TrustedRoots
impl Freeze for TrustedRoots
impl Move for TrustedRoots
impl RefUnwindSafe for TrustedRoots
impl Send for TrustedRoots
impl Sync for TrustedRoots
impl Unpin for TrustedRoots
impl UnsafeUnpin for TrustedRootswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const LeafNode<String, KeyEntry> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, KeyEntry)>>: UnsafeUnpin,
impl UnwindSafe for TrustedRoots
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.