pub struct DoubleSignedMessage<E: EngineBLS> {
pub message: Message,
pub publickey: DoublePublicKey<E>,
pub signature: DoubleSignature<E>,
}
Expand description
Message with attached BLS signature
Fields§
§message: Message
§publickey: DoublePublicKey<E>
§signature: DoubleSignature<E>
Trait Implementations§
Source§impl<E: Clone + EngineBLS> Clone for DoubleSignedMessage<E>
impl<E: Clone + EngineBLS> Clone for DoubleSignedMessage<E>
Source§fn clone(&self) -> DoubleSignedMessage<E>
fn clone(&self) -> DoubleSignedMessage<E>
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<E: EngineBLS> PartialEq for DoubleSignedMessage<E>
impl<E: EngineBLS> PartialEq for DoubleSignedMessage<E>
Source§impl<'a, E: EngineBLS> Signed for &'a DoubleSignedMessage<E>
impl<'a, E: EngineBLS> Signed for &'a DoubleSignedMessage<E>
type E = E
type M = Message
type PKG = PublicKey<E>
Source§type PKnM = Once<(Message, PublicKey<E>)>
type PKnM = Once<(Message, PublicKey<E>)>
Iterator over, messages and public key reference pairs.
Source§fn messages_and_publickeys(self) -> Self::PKnM
fn messages_and_publickeys(self) -> Self::PKnM
Returns an iterator over messages and public key reference for
pairings, often only partially aggregated.
Auto Trait Implementations§
impl<E> Freeze for DoubleSignedMessage<E>where
<E as EngineBLS>::SignatureGroup: Freeze,
<E as EngineBLS>::PublicKeyGroup: Freeze,
<E as EngineBLS>::Scalar: Freeze,
impl<E> RefUnwindSafe for DoubleSignedMessage<E>where
<E as EngineBLS>::SignatureGroup: RefUnwindSafe,
<E as EngineBLS>::PublicKeyGroup: RefUnwindSafe,
<E as EngineBLS>::Scalar: RefUnwindSafe,
impl<E> Send for DoubleSignedMessage<E>
impl<E> Sync for DoubleSignedMessage<E>
impl<E> Unpin for DoubleSignedMessage<E>where
<E as EngineBLS>::SignatureGroup: Unpin,
<E as EngineBLS>::PublicKeyGroup: Unpin,
<E as EngineBLS>::Scalar: Unpin,
impl<E> UnwindSafe for DoubleSignedMessage<E>where
<E as EngineBLS>::SignatureGroup: UnwindSafe,
<E as EngineBLS>::PublicKeyGroup: UnwindSafe,
<E as EngineBLS>::Scalar: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more