pub enum RevocationProof {
Nullifier {
nullifier: Vec<u8>,
anchor_entry: AnchorEntry,
},
StatusList {
list_uri: String,
list_index: u64,
signature: Option<Vec<u8>>,
batch_anchor: Option<AnchorEntry>,
},
}Expand description
Revocation evidence variants (CDDL revocation-proof).
Variants§
Nullifier
On-chain Poseidon nullifier inclusion.
Fields
§
anchor_entry: AnchorEntryOn-chain inclusion anchor entry.
StatusList
Signed revocation status list.
Trait Implementations§
Source§impl Clone for RevocationProof
impl Clone for RevocationProof
Source§fn clone(&self) -> RevocationProof
fn clone(&self) -> RevocationProof
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 RevocationProof
impl Debug for RevocationProof
Source§impl<'de> Deserialize<'de> for RevocationProof
impl<'de> Deserialize<'de> for RevocationProof
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 RevocationProof
impl PartialEq for RevocationProof
Source§fn eq(&self, other: &RevocationProof) -> bool
fn eq(&self, other: &RevocationProof) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RevocationProof
impl Serialize for RevocationProof
impl Eq for RevocationProof
impl StructuralPartialEq for RevocationProof
Auto Trait Implementations§
impl Freeze for RevocationProof
impl RefUnwindSafe for RevocationProof
impl Send for RevocationProof
impl Sync for RevocationProof
impl Unpin for RevocationProof
impl UnsafeUnpin for RevocationProof
impl UnwindSafe for RevocationProof
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