pub enum TallyProof {
Public {
id: CommitteeId,
signature: SingleAccountBindingSignature,
},
Private {
id: CommitteeId,
signature: SingleAccountBindingSignature,
},
}
Variants§
Implementations§
source§impl TallyProof
impl TallyProof
pub fn serialize_in(&self, bb: ByteBuilder<Self>) -> ByteBuilder<Self>
pub fn verify( &self, tally_type: PayloadType, verify_data: &TransactionBindingAuthData<'_> ) -> Verification
Trait Implementations§
source§impl Arbitrary for TallyProof
impl Arbitrary for TallyProof
source§impl Clone for TallyProof
impl Clone for TallyProof
source§fn clone(&self) -> TallyProof
fn clone(&self) -> TallyProof
Returns a copy of the value. Read more
1.0.0 · 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 TallyProof
impl Debug for TallyProof
source§impl DeserializeFromSlice for TallyProof
impl DeserializeFromSlice for TallyProof
fn deserialize_from_slice(codec: &mut Codec<&[u8]>) -> Result<Self, ReadError>
fn deserialize_validate_from_slice( codec: &mut Codec<&[u8]> ) -> Result<(), ReadError>
Auto Trait Implementations§
impl RefUnwindSafe for TallyProof
impl Send for TallyProof
impl Sync for TallyProof
impl Unpin for TallyProof
impl UnwindSafe for TallyProof
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