Struct terra_rust_api::core_types::StdTx[][src]

pub struct StdTx<'a> {
    pub tx: StdTxInner<'a>,
    pub mode: &'a str,
}

Fields

tx: StdTxInner<'a>mode: &'a str

Implementations

impl<'a> StdTx<'a>[src]

pub fn create(
    msg: &'a Vec<Box<dyn Msg>>,
    fee: &'a StdFee,
    signatures: &'a Vec<StdSignature>,
    memo: &'a str,
    mode: &'a str
) -> StdTx<'a>
[src]

create the TX which is used to POST to LCD

pub fn from_StdSignMsg(
    std_sign_msg: &'a StdSignMsg,
    signatures: &'a Vec<StdSignature>,
    mode: &'a str
) -> StdTx<'a>
[src]

Sign a standard message mode can be async, sync, or block (for debugging)

Trait Implementations

impl<'a> Serialize for StdTx<'a>[src]

Auto Trait Implementations

impl<'a> !RefUnwindSafe for StdTx<'a>

impl<'a> !Send for StdTx<'a>

impl<'a> !Sync for StdTx<'a>

impl<'a> Unpin for StdTx<'a>

impl<'a> !UnwindSafe for StdTx<'a>

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, 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> Serialize for T where
    T: Serialize + ?Sized
[src]

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.