[][src]Struct web3::types::SignedData

pub struct SignedData {
    pub message: Vec<u8>,
    pub message_hash: H256,
    pub v: u8,
    pub r: H256,
    pub s: H256,
    pub signature: Bytes,
}

Struct representing signed data returned from Accounts::sign method.

Fields

message: Vec<u8>

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

impl Clone for SignedData[src]

impl Debug for SignedData[src]

impl<'de> Deserialize<'de> for SignedData[src]

impl<'a> From<&'a SignedData> for Recovery[src]

impl PartialEq<SignedData> for SignedData[src]

impl Serialize for SignedData[src]

impl StructuralPartialEq for SignedData[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,