[][src]Struct nash_protocol::protocol::RequestPayloadSignature

pub struct RequestPayloadSignature {
    pub signed_digest: String,
    pub public_key: String,
}

This signature format is used for GraphQL request payload signatures Data is SHA256 hashed and signed with a secp256k1 ECDSA key

Fields

signed_digest: Stringpublic_key: String

Implementations

impl RequestPayloadSignature[src]

pub fn empty() -> Self[src]

Trait Implementations

impl Clone for RequestPayloadSignature[src]

impl Debug for RequestPayloadSignature[src]

impl From<RequestPayloadSignature> for Signature[src]

Convert ugly generated get_assets_nonces::Signature type into common signature

impl From<RequestPayloadSignature> for Signature[src]

Convert ugly generated cancel_all_orders::Signature type into common signature

impl From<RequestPayloadSignature> for Signature[src]

impl From<RequestPayloadSignature> for Signature[src]

impl From<RequestPayloadSignature> for Signature[src]

Convert ugly generated sign_states::Signature type into common signature

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<T> From<T> for T[src]

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

impl<T> Pointable for T

type Init = T

The type for initializers.

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.