pub struct ZkpProof {
pub data: Vec<u8>,
pub proof_type: ProofType,
pub security_level: u32,
}
Expand description
A zero-knowledge proof
Fields§
§data: Vec<u8>
The proof data
proof_type: ProofType
The proof type
security_level: u32
Security level
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ZkpProof
impl RefUnwindSafe for ZkpProof
impl Send for ZkpProof
impl Sync for ZkpProof
impl Unpin for ZkpProof
impl UnwindSafe for ZkpProof
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