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: BaseTx
§tx_id: String
§add_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§
Source§impl Debug for Transaction
impl Debug for Transaction
Source§impl<'de> Deserialize<'de> for Transaction
impl<'de> Deserialize<'de> for Transaction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Transaction
impl RefUnwindSafe for Transaction
impl Send for Transaction
impl Sync for Transaction
impl Unpin for Transaction
impl UnwindSafe for Transaction
Blanket Implementations§
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