pub struct Resolution {
pub document: Value,
pub metadata: Value,
pub version_number: usize,
pub latest_version_id: String,
}Expand description
A verified did:webvh log, resolved to one version.
Fields§
§document: ValueThe selected entry’s state, exactly as the log holds it: the DID
document. Its id is exactly the DID.
metadata: ValueThe DID document metadata (spec 3.6.2): versionId, versionTime
(of the selected entry), created and updated (the first and last
entries’ times), scid, portable, deactivated, ttl (a string),
witness and watchers (active after the last entry).
version_number: usizeThe selected entry’s version number.
latest_version_id: StringThe versionId of the log’s last entry, to remember so a later, shorter log can be refused.
Implementations§
Trait Implementations§
Source§impl Clone for Resolution
impl Clone for Resolution
Source§impl Debug for Resolution
impl Debug for Resolution
Source§impl PartialEq for Resolution
impl PartialEq for Resolution
impl StructuralPartialEq for Resolution
Auto Trait Implementations§
impl Forget for Resolution
impl Freeze for Resolutionwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Value>: Freeze,
PhantomData<usize>: Freeze,
PhantomData<Bucket<String, Value>>: Freeze,
impl Move for Resolution
impl RefUnwindSafe for Resolution
impl Send for Resolution
impl Sync for Resolution
impl Unpin for Resolution
impl UnsafeUnpin for Resolutionwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
PhantomData<Bucket<String, Value>>: UnsafeUnpin,
impl UnwindSafe for Resolution
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