Struct cosmos_sdk_proto::cosmos::tx::v1beta1::SignDoc[][src]

pub struct SignDoc {
    pub body_bytes: Vec<u8>,
    pub auth_info_bytes: Vec<u8>,
    pub chain_id: String,
    pub account_number: u64,
}

SignDoc is the type used for generating sign bytes for SIGN_MODE_DIRECT.

Fields

body_bytes: Vec<u8>

body_bytes is protobuf serialization of a TxBody that matches the representation in TxRaw.

auth_info_bytes: Vec<u8>

auth_info_bytes is a protobuf serialization of an AuthInfo that matches the representation in TxRaw.

chain_id: String

chain_id is the unique identifier of the chain this transaction targets. It prevents signed transactions from being used on another chain by an attacker

account_number: u64

account_number is the account number of the account in state

Trait Implementations

impl Clone for SignDoc[src]

impl Debug for SignDoc[src]

impl Default for SignDoc[src]

impl Message for SignDoc[src]

impl PartialEq<SignDoc> for SignDoc[src]

impl StructuralPartialEq for SignDoc[src]

Auto Trait Implementations

impl RefUnwindSafe for SignDoc

impl Send for SignDoc

impl Sync for SignDoc

impl Unpin for SignDoc

impl UnwindSafe for SignDoc

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

impl<T> Instrument for T[src]

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

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

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>, 

impl<T> WithSubscriber for T[src]