pub struct RootsFile {
pub version: u32,
pub roots: Vec<RootEntry>,
}Expand description
A roots.json file containing trusted identity roots.
This file is checked into repositories at .auths/roots.json to define
which identities are trusted for verification in CI environments.
§Format
{
"version": 1,
"roots": [
{
"did": "did:keri:EXq5YqaL...",
"public_key_hex": "7a3bc2...",
"kel_tip_said": "ERotSaid...",
"note": "Primary maintainer"
}
]
}Fields§
§version: u32Version of the roots file format. Currently must be 1.
roots: Vec<RootEntry>List of trusted identity roots.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RootsFile
impl<'de> Deserialize<'de> for RootsFile
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 RootsFile
impl RefUnwindSafe for RootsFile
impl Send for RootsFile
impl Sync for RootsFile
impl Unpin for RootsFile
impl UnsafeUnpin for RootsFile
impl UnwindSafe for RootsFile
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