Struct cosm_utils::chain::request::TxOptions
source · pub struct TxOptions {
pub timeout_height: Option<u64>,
pub fee: Option<Fee>,
pub account: Option<Account>,
pub memo: String,
}Expand description
Options the user can set when executing txs on chain
Fields§
§timeout_height: Option<u64>The block height after which this transaction will not be processed by the chain
fee: Option<Fee>If set, this fee will be used, instead of simulating the fee
account: Option<Account>If set, this fee will be used, instead of querying the account
memo: StringAn arbitrary memo to be added to the transaction
Trait Implementations§
source§impl<'de> Deserialize<'de> for TxOptions
impl<'de> Deserialize<'de> for TxOptions
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<TxOptions> for TxOptions
impl PartialEq<TxOptions> for TxOptions
impl Eq for TxOptions
impl StructuralEq for TxOptions
impl StructuralPartialEq for TxOptions
Auto Trait Implementations§
impl RefUnwindSafe for TxOptions
impl Send for TxOptions
impl Sync for TxOptions
impl Unpin for TxOptions
impl UnwindSafe for TxOptions
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request