Struct fuels_types::transaction::TxParameters
source · pub struct TxParameters { /* private fields */ }
Implementations§
source§impl TxParameters
impl TxParameters
pub fn new(gas_price: u64, gas_limit: u64, maturity: u64) -> Self
pub fn set_gas_price(self, gas_price: u64) -> Self
pub fn gas_price(&self) -> u64
pub fn set_gas_limit(self, gas_limit: u64) -> Self
pub fn gas_limit(&self) -> u64
pub fn set_maturity(self, maturity: u64) -> Self
pub fn maturity(&self) -> u64
Trait Implementations§
source§impl Clone for TxParameters
impl Clone for TxParameters
source§fn clone(&self) -> TxParameters
fn clone(&self) -> TxParameters
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 TxParameters
impl Debug for TxParameters
source§impl Default for TxParameters
impl Default for TxParameters
impl Copy for TxParameters
Auto Trait Implementations§
impl RefUnwindSafe for TxParameters
impl Send for TxParameters
impl Sync for TxParameters
impl Unpin for TxParameters
impl UnwindSafe for TxParameters
Blanket Implementations§
§impl<T> AnyDebug for Twhere
T: Any + Debug,
impl<T> AnyDebug for Twhere T: Any + Debug,
§fn as_any_ref(&self) -> &(dyn Any + 'static)
fn as_any_ref(&self) -> &(dyn Any + 'static)
Returns a reference to the underlying type as
Any
.