pub struct AggregateSignature {
pub signers: Vec<bool>,
pub signatures: Vec<Signature>,
}Expand description
Simple aggregate signature: bitfield indicating which validators signed + individual signatures
Fields§
§signers: Vec<bool>§signatures: Vec<Signature>Implementations§
Trait Implementations§
Source§impl Clone for AggregateSignature
impl Clone for AggregateSignature
Source§fn clone(&self) -> AggregateSignature
fn clone(&self) -> AggregateSignature
Returns a duplicate 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 AggregateSignature
impl Debug for AggregateSignature
Source§impl<'de> Deserialize<'de> for AggregateSignature
impl<'de> Deserialize<'de> for AggregateSignature
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
Auto Trait Implementations§
impl Freeze for AggregateSignature
impl RefUnwindSafe for AggregateSignature
impl Send for AggregateSignature
impl Sync for AggregateSignature
impl Unpin for AggregateSignature
impl UnsafeUnpin for AggregateSignature
impl UnwindSafe for AggregateSignature
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