Struct pink_web3::types::SignedData
source · [−]pub struct SignedData {
pub message: Vec<u8>,
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>The original message that was signed.
message_hash: H256The keccak256 hash of the signed data.
v: u8V value in ‘Electrum’ notation.
r: H256R value.
s: H256S value.
signature: BytesThe signature bytes.
Trait Implementations
sourceimpl Clone for SignedData
impl Clone for SignedData
sourcefn clone(&self) -> SignedData
fn clone(&self) -> SignedData
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for SignedData
impl Debug for SignedData
sourceimpl<'de> Deserialize<'de> for SignedData
impl<'de> Deserialize<'de> for SignedData
sourcefn 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
sourceimpl<'a> From<&'a SignedData> for Recovery
impl<'a> From<&'a SignedData> for Recovery
sourcefn from(signed: &'a SignedData) -> Self
fn from(signed: &'a SignedData) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<SignedData> for SignedData
impl PartialEq<SignedData> for SignedData
sourcefn eq(&self, other: &SignedData) -> bool
fn eq(&self, other: &SignedData) -> bool
sourceimpl Serialize for SignedData
impl Serialize for SignedData
impl StructuralPartialEq for SignedData
Auto Trait Implementations
impl RefUnwindSafe for SignedData
impl Send for SignedData
impl Sync for SignedData
impl Unpin for SignedData
impl UnwindSafe for SignedData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more