pub struct SubmitTxOpts {
pub timeout: Option<Duration>,
pub encrypt: bool,
pub verify: bool,
}
Expand description
Transaction submission options.
Fields§
§timeout: Option<Duration>
Optional timeout when submitting a transaction. Setting this to None
means that the host
node timeout will be used.
encrypt: bool
Whether the call data should be encrypted (true by default).
verify: bool
Whether to verify the transaction result (true by default).
Trait Implementations§
Source§impl Clone for SubmitTxOpts
impl Clone for SubmitTxOpts
Source§fn clone(&self) -> SubmitTxOpts
fn clone(&self) -> SubmitTxOpts
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SubmitTxOpts
impl Debug for SubmitTxOpts
Auto Trait Implementations§
impl Freeze for SubmitTxOpts
impl RefUnwindSafe for SubmitTxOpts
impl Send for SubmitTxOpts
impl Sync for SubmitTxOpts
impl Unpin for SubmitTxOpts
impl UnwindSafe for SubmitTxOpts
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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