Struct risc0_zkvm::SegmentReceipts
source · pub struct SegmentReceipts(pub Vec<SegmentReceipt>);
Expand description
A wrapper around Vec<SegmentReceipt>
.
Tuple Fields§
§0: Vec<SegmentReceipt>
Implementations§
source§impl SegmentReceipts
impl SegmentReceipts
sourcepub fn verify_with_context(
&self,
ctx: &VerifierContext,
image_id: Digest,
journal: &[u8]
) -> Result<(), VerificationError>
pub fn verify_with_context( &self, ctx: &VerifierContext, image_id: Digest, journal: &[u8] ) -> Result<(), VerificationError>
Verify the integrity of this receipt.
Trait Implementations§
source§impl Debug for SegmentReceipts
impl Debug for SegmentReceipts
source§impl<'de> Deserialize<'de> for SegmentReceipts
impl<'de> Deserialize<'de> for SegmentReceipts
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
source§impl PartialEq for SegmentReceipts
impl PartialEq for SegmentReceipts
source§fn eq(&self, other: &SegmentReceipts) -> bool
fn eq(&self, other: &SegmentReceipts) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SegmentReceipts
impl Serialize for SegmentReceipts
impl StructuralPartialEq for SegmentReceipts
Auto Trait Implementations§
impl RefUnwindSafe for SegmentReceipts
impl Send for SegmentReceipts
impl Sync for SegmentReceipts
impl Unpin for SegmentReceipts
impl UnwindSafe for SegmentReceipts
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