Struct avalanche_rs::pvm::parser::atomic_block_parser::Transaction[][src]

pub struct Transaction {
    pub base_tx: BaseTx,
    pub tx_id: String,
    pub add_validator_tx: Option<AddValidatorTx>,
    pub import_tx: Option<ImportTx>,
    pub export_tx: Option<ExportTx>,
    pub add_subnet_validator_tx: Option<AddSubnetValidatorTx>,
    pub add_delegator_tx: Option<AddDelegatorTx>,
    pub create_blockchain_tx: Option<CreateBlockchainTx>,
    pub create_subnet_tx: Option<CreateSubnetTx>,
    pub advance_time_tx: Option<AdvanceTimeTx>,
    pub reward_validator_tx: Option<RewardValidatorTx>,
    pub credentials: Vec<Credential>,
}

Fields

base_tx: BaseTxtx_id: Stringadd_validator_tx: Option<AddValidatorTx>import_tx: Option<ImportTx>export_tx: Option<ExportTx>add_subnet_validator_tx: Option<AddSubnetValidatorTx>add_delegator_tx: Option<AddDelegatorTx>create_blockchain_tx: Option<CreateBlockchainTx>create_subnet_tx: Option<CreateSubnetTx>advance_time_tx: Option<AdvanceTimeTx>reward_validator_tx: Option<RewardValidatorTx>credentials: Vec<Credential>

Trait Implementations

impl Debug for Transaction[src]

impl<'de> Deserialize<'de> for Transaction[src]

impl Serialize for Transaction[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.