pub struct ProofToken {
pub tier: ProofTier,
pub epoch: u32,
pub hash: u32,
}Expand description
A proof token that attests to a verified proof.
Fields§
§tier: ProofTierThe tier that was verified.
epoch: u32Epoch when the proof was generated.
hash: u32Truncated hash of the proof payload.
Trait Implementations§
Source§impl Clone for ProofToken
impl Clone for ProofToken
Source§fn clone(&self) -> ProofToken
fn clone(&self) -> ProofToken
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ProofToken
Auto Trait Implementations§
impl Freeze for ProofToken
impl RefUnwindSafe for ProofToken
impl Send for ProofToken
impl Sync for ProofToken
impl Unpin for ProofToken
impl UnsafeUnpin for ProofToken
impl UnwindSafe for ProofToken
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