Struct finality_grandpa::SignedPrevote
source · pub struct SignedPrevote<H, N, S, Id> {
pub prevote: Prevote<H, N>,
pub signature: S,
pub id: Id,
}
Expand description
A signed prevote message.
Fields§
§prevote: Prevote<H, N>
The prevote message which has been signed.
signature: S
The signature on the message.
id: Id
The Id of the signer.
Trait Implementations§
source§impl<H: Clone, N: Clone, S: Clone, Id: Clone> Clone for SignedPrevote<H, N, S, Id>
impl<H: Clone, N: Clone, S: Clone, Id: Clone> Clone for SignedPrevote<H, N, S, Id>
source§fn clone(&self) -> SignedPrevote<H, N, S, Id>
fn clone(&self) -> SignedPrevote<H, N, S, Id>
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<H: PartialEq, N: PartialEq, S: PartialEq, Id: PartialEq> PartialEq<SignedPrevote<H, N, S, Id>> for SignedPrevote<H, N, S, Id>
impl<H: PartialEq, N: PartialEq, S: PartialEq, Id: PartialEq> PartialEq<SignedPrevote<H, N, S, Id>> for SignedPrevote<H, N, S, Id>
source§fn eq(&self, other: &SignedPrevote<H, N, S, Id>) -> bool
fn eq(&self, other: &SignedPrevote<H, N, S, Id>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.