Struct chain_impl_mockchain::certificate::vote_plan::VotePlanProof
source · pub struct VotePlanProof {
pub id: CommitteeId,
pub signature: SingleAccountBindingSignature,
}
Fields§
§id: CommitteeId
§signature: SingleAccountBindingSignature
Implementations§
source§impl VotePlanProof
impl VotePlanProof
pub fn serialize_in(&self, bb: ByteBuilder<Self>) -> ByteBuilder<Self>
pub fn verify( &self, verify_data: &TransactionBindingAuthData<'_> ) -> Verification
Trait Implementations§
source§impl Arbitrary for VotePlanProof
impl Arbitrary for VotePlanProof
source§impl Clone for VotePlanProof
impl Clone for VotePlanProof
source§fn clone(&self) -> VotePlanProof
fn clone(&self) -> VotePlanProof
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 VotePlanProof
impl Debug for VotePlanProof
source§impl DeserializeFromSlice for VotePlanProof
impl DeserializeFromSlice for VotePlanProof
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 VotePlanProof
impl Send for VotePlanProof
impl Sync for VotePlanProof
impl Unpin for VotePlanProof
impl UnwindSafe for VotePlanProof
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