[][src]Struct clarity::Signature

pub struct Signature {
    pub v: Uint256,
    pub r: Uint256,
    pub s: Uint256,
}

Fields

Methods

impl Signature
[src]

Converts a signature into a bytes string.

A signature in binary form consists of 65 bytes where first 32 bytes are "r" in big endian form, next 32 bytes are "s" in big endian form, and at the end there is one byte made of "v".

This also consumes the signature.

Trait Implementations

impl Default for Signature
[src]

impl ToString for Signature
[src]

impl PartialEq<Signature> for Signature
[src]

impl Eq for Signature
[src]

impl Clone for Signature
[src]

Performs copy-assignment from source. Read more

impl Debug for Signature
[src]

impl Hash for Signature
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Serialize for Signature
[src]

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

Auto Trait Implementations

impl Send for Signature

impl Sync for Signature

Blanket Implementations

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

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> From for T
[src]

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

impl<T> Same for T

Should always be Self