Enum diem_json_rpc_types::views::TransactionDataView [−][src]
pub enum TransactionDataView {
BlockMetadata {
timestamp_usecs: u64,
},
WriteSet {},
UserTransaction {Show 17 fields
sender: AccountAddress,
signature_scheme: String,
signature: BytesView,
public_key: BytesView,
secondary_signers: Option<Vec<AccountAddress>>,
secondary_signature_schemes: Option<Vec<String>>,
secondary_signatures: Option<Vec<BytesView>>,
secondary_public_keys: Option<Vec<BytesView>>,
sequence_number: u64,
chain_id: u8,
max_gas_amount: u64,
gas_unit_price: u64,
gas_currency: String,
expiration_timestamp_secs: u64,
script_hash: HashValue,
script_bytes: BytesView,
script: ScriptView,
},
UnknownTransaction,
}
Variants
Fields of BlockMetadata
timestamp_usecs: u64
Fields of WriteSet
Fields of UserTransaction
sender: AccountAddress
signature_scheme: String
signature: BytesView
public_key: BytesView
secondary_signers: Option<Vec<AccountAddress>>
secondary_signature_schemes: Option<Vec<String>>
secondary_signatures: Option<Vec<BytesView>>
secondary_public_keys: Option<Vec<BytesView>>
sequence_number: u64
chain_id: u8
max_gas_amount: u64
gas_unit_price: u64
gas_currency: String
expiration_timestamp_secs: u64
script_hash: HashValue
script_bytes: BytesView
script: ScriptView
Trait Implementations
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
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for TransactionDataView
impl Send for TransactionDataView
impl Sync for TransactionDataView
impl Unpin for TransactionDataView
impl UnwindSafe for TransactionDataView
Blanket Implementations
Mutably borrows from an owned value. Read more
Generates a hash used only for tests.