pub struct RegisterSingleSignatureMessage {
pub entity_type: HashMap<String, Value>,
pub party_id: String,
pub signature: Vec<u8>,
pub indexes: Vec<i64>,
}Expand description
RegisterSingleSignatureMessage : This message holds a Signer Single Signature with the list of won indexes in the lottery.
Fields§
§entity_type: HashMap<String, Value>Entity type of the message that is signed
party_id: StringThe unique identifier of the signer
signature: Vec<u8>The single signature of the digest
indexes: Vec<i64>The indexes of the lottery won that lead to the single signature
Implementations§
Trait Implementations§
Source§impl Clone for RegisterSingleSignatureMessage
impl Clone for RegisterSingleSignatureMessage
Source§fn clone(&self) -> RegisterSingleSignatureMessage
fn clone(&self) -> RegisterSingleSignatureMessage
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 Default for RegisterSingleSignatureMessage
impl Default for RegisterSingleSignatureMessage
Source§fn default() -> RegisterSingleSignatureMessage
fn default() -> RegisterSingleSignatureMessage
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RegisterSingleSignatureMessage
impl<'de> Deserialize<'de> for RegisterSingleSignatureMessage
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
Source§impl PartialEq for RegisterSingleSignatureMessage
impl PartialEq for RegisterSingleSignatureMessage
Source§fn eq(&self, other: &RegisterSingleSignatureMessage) -> bool
fn eq(&self, other: &RegisterSingleSignatureMessage) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RegisterSingleSignatureMessage
Auto Trait Implementations§
impl Freeze for RegisterSingleSignatureMessage
impl RefUnwindSafe for RegisterSingleSignatureMessage
impl Send for RegisterSingleSignatureMessage
impl Sync for RegisterSingleSignatureMessage
impl Unpin for RegisterSingleSignatureMessage
impl UnwindSafe for RegisterSingleSignatureMessage
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