[][src]Struct emerald_rs::Signature

pub struct Signature {
    pub v: u8,
    pub r: [u8; 32],
    pub s: [u8; 32],
}

Transaction sign data (see Appendix F. "Signing Transactions" from Yellow Paper)

Fields

v: u8

‘recovery id’, a 1 byte value specifying the sign and finiteness of the curve point

r: [u8; 32]

ECDSA signature first point (0 < r < secp256k1n)

s: [u8; 32]

ECDSA signature second point (0 < s < secp256k1n ÷ 2 + 1)

Trait Implementations

impl Into<(u8, [u8; 32], [u8; 32])> for Signature[src]

impl Into<String> for Signature[src]

impl Eq for Signature[src]

impl Default for Signature[src]

impl PartialEq<Signature> for Signature[src]

impl From<[u8; 65]> for Signature[src]

impl Clone for Signature[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Signature[src]

Auto Trait Implementations

impl Send for Signature

impl Sync for Signature

Blanket Implementations

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

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

impl<T, U> TryInto 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<T> Same for T

type Output = T

Should always be Self

impl<T> Erased for T

impl<Q, K> Equivalent for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 

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