Struct quorum_vault_client::SignedData
source · pub struct SignedData {
pub message: Vec<u8, Global>,
pub message_hash: H256,
pub v: u8,
pub r: H256,
pub s: H256,
pub signature: Bytes,
}
Expand description
Struct representing signed data returned from Accounts::sign
method.
Fields§
§message: Vec<u8, Global>
The original message that was signed.
message_hash: H256
The keccak256 hash of the signed data.
v: u8
V value in ‘Electrum’ notation.
r: H256
R value.
s: H256
S value.
signature: Bytes
The signature bytes.
Trait Implementations§
source§impl Clone for SignedData
impl Clone for SignedData
source§fn clone(&self) -> SignedData
fn clone(&self) -> SignedData
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 SignedData
impl Debug for SignedData
source§impl<'de> Deserialize<'de> for SignedData
impl<'de> Deserialize<'de> for SignedData
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<SignedData, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<SignedData, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<'a> From<&'a SignedData> for Recovery
impl<'a> From<&'a SignedData> for Recovery
source§fn from(signed: &'a SignedData) -> Recovery
fn from(signed: &'a SignedData) -> Recovery
Converts to this type from the input type.
source§impl PartialEq<SignedData> for SignedData
impl PartialEq<SignedData> for SignedData
source§fn eq(&self, other: &SignedData) -> bool
fn eq(&self, other: &SignedData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SignedData
impl Serialize for SignedData
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more