Struct fuels_types::transaction::CreateTransaction
source · pub struct CreateTransaction {
pub tx: Create,
}
Fields§
§tx: Create
Implementations§
source§impl CreateTransaction
impl CreateTransaction
pub fn salt(&self) -> &FuelSalt
pub fn bytecode_witness_index(&self) -> u8
pub fn storage_slots(&self) -> &Vec<StorageSlot>
pub fn bytecode_length(&self) -> u64
Trait Implementations§
source§impl Clone for CreateTransaction
impl Clone for CreateTransaction
source§fn clone(&self) -> CreateTransaction
fn clone(&self) -> CreateTransaction
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 CreateTransaction
impl Debug for CreateTransaction
source§impl Default for CreateTransaction
impl Default for CreateTransaction
source§impl From<Create> for CreateTransaction
impl From<Create> for CreateTransaction
source§impl From<CreateTransaction> for Create
impl From<CreateTransaction> for Create
source§fn from(tx: CreateTransaction) -> Self
fn from(tx: CreateTransaction) -> Self
Converts to this type from the input type.
source§impl From<CreateTransaction> for FuelTransaction
impl From<CreateTransaction> for FuelTransaction
source§fn from(tx: CreateTransaction) -> Self
fn from(tx: CreateTransaction) -> Self
Converts to this type from the input type.
source§impl Transaction for CreateTransaction
impl Transaction for CreateTransaction
fn fee_checked_from_tx( &self, params: &ConsensusParameters ) -> Option<TransactionFee>
fn check_without_signatures( &self, block_height: u32, parameters: &ConsensusParameters ) -> Result<(), Error>
fn id(&self, params: &ConsensusParameters) -> Bytes32
fn maturity(&self) -> u32
fn with_maturity(self, maturity: u32) -> Self
fn gas_price(&self) -> u64
fn with_gas_price(self, gas_price: u64) -> Self
fn gas_limit(&self) -> u64
fn with_gas_limit(self, gas_limit: u64) -> Self
fn with_tx_params(self, tx_params: TxParameters) -> Self
fn metered_bytes_size(&self) -> usize
fn inputs(&self) -> &Vec<FuelInput>
fn outputs(&self) -> &Vec<Output>
fn witnesses(&self) -> &Vec<Witness>
fn witnesses_mut(&mut self) -> &mut Vec<Witness>
fn with_witnesses(self, witnesses: Vec<Witness>) -> Self
Auto Trait Implementations§
impl RefUnwindSafe for CreateTransaction
impl Send for CreateTransaction
impl Sync for CreateTransaction
impl Unpin for CreateTransaction
impl UnwindSafe for CreateTransaction
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