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: u32) -> 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: u32) -> Self
pub fn maturity(&self) -> u32
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
.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