[][src]Struct stdtx::amino_types::StdFee

pub struct StdFee {
    pub amount: Vec<Coin>,
    pub gas: u64,
}

StdFee Amino type

Fields

amount: Vec<Coin>

Fee to be paid

gas: u64

Gas requested for transaction

Implementations

impl StdFee[src]

pub fn for_gas(gas: u64) -> Self[src]

Create a StdFee for a gas-only transaction

Trait Implementations

impl Clone for StdFee[src]

impl Debug for StdFee[src]

impl Default for StdFee[src]

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

impl Message for StdFee[src]

impl Serialize for StdFee[src]

Auto Trait Implementations

impl RefUnwindSafe for StdFee

impl Send for StdFee

impl Sync for StdFee

impl Unpin for StdFee

impl UnwindSafe for StdFee

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.