pub struct VerifiedInclusion {
pub root: [u8; 32],
pub tree_size: u64,
pub leaf_index: u64,
}Expand description
What an attached Receipt was found to prove.
Holding one of these means: an inclusion proof reconstructed
root over the entry bytes supplied, and the Receipt’s
signature over that root verified under the Transparency Service key
supplied. It does not mean the statement is conforming, because that turns
on whether the relying party trusts the Transparency Service holding that
key.
Fields§
§root: [u8; 32]The Merkle root the proof reconstructed and the signature covers.
tree_size: u64Size of the tree the proof was taken against.
leaf_index: u64Index of the proven leaf.
Trait Implementations§
Source§impl Clone for VerifiedInclusion
impl Clone for VerifiedInclusion
Source§impl Debug for VerifiedInclusion
impl Debug for VerifiedInclusion
impl Eq for VerifiedInclusion
Source§impl PartialEq for VerifiedInclusion
impl PartialEq for VerifiedInclusion
impl StructuralPartialEq for VerifiedInclusion
Auto Trait Implementations§
impl Freeze for VerifiedInclusion
impl RefUnwindSafe for VerifiedInclusion
impl Send for VerifiedInclusion
impl Sync for VerifiedInclusion
impl Unpin for VerifiedInclusion
impl UnsafeUnpin for VerifiedInclusion
impl UnwindSafe for VerifiedInclusion
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