#[repr(u8)]pub enum OwnershipProofType {
Mock = 0,
Groth16 = 1,
Plonk = 2,
Signature = 3,
}Expand description
Ownership proof type
Variants§
Mock = 0
Mock proof (for testing)
Groth16 = 1
Groth16 ZK proof
Plonk = 2
PLONK ZK proof
Signature = 3
Signature-based attestation
Trait Implementations§
Source§impl Clone for OwnershipProofType
impl Clone for OwnershipProofType
Source§fn clone(&self) -> OwnershipProofType
fn clone(&self) -> OwnershipProofType
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 moreSource§impl Debug for OwnershipProofType
impl Debug for OwnershipProofType
Source§impl<'de> Deserialize<'de> for OwnershipProofType
impl<'de> Deserialize<'de> for OwnershipProofType
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 OwnershipProofType
impl PartialEq for OwnershipProofType
Source§fn eq(&self, other: &OwnershipProofType) -> bool
fn eq(&self, other: &OwnershipProofType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for OwnershipProofType
impl Serialize for OwnershipProofType
impl Copy for OwnershipProofType
impl Eq for OwnershipProofType
impl StructuralPartialEq for OwnershipProofType
Auto Trait Implementations§
impl Freeze for OwnershipProofType
impl RefUnwindSafe for OwnershipProofType
impl Send for OwnershipProofType
impl Sync for OwnershipProofType
impl Unpin for OwnershipProofType
impl UnsafeUnpin for OwnershipProofType
impl UnwindSafe for OwnershipProofType
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