[][src]Struct emerald_rs::core::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 Clone for Signature[src]

impl Debug for Signature[src]

impl Default for Signature[src]

impl Eq for Signature[src]

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

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

impl Into<String> for Signature[src]

impl PartialEq<Signature> for Signature[src]

impl StructuralEq for Signature[src]

impl StructuralPartialEq for Signature[src]

Auto Trait Implementations

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> 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<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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