Enum hedera::RequestType
source · #[non_exhaustive]pub enum RequestType {
Show 75 variants
None,
CryptoTransfer,
CryptoUpdate,
CryptoDelete,
CryptoAddLiveHash,
CryptoDeleteLiveHash,
ContractCall,
ContractCreate,
ContractUpdate,
FileCreate,
FileAppend,
FileUpdate,
FileDelete,
CryptoGetAccountBalance,
CryptoGetAccountRecords,
CryptoGetInfo,
ContractCallLocal,
ContractGetInfo,
ContractGetBytecode,
GetBySolidityId,
GetByKey,
CryptoGetLiveHash,
CryptoGetStakers,
FileGetContents,
FileGetInfo,
TransactionGetRecord,
ContractGetRecords,
CryptoCreate,
SystemDelete,
SystemUndelete,
ContractDelete,
Freeze,
CreateTransactionRecord,
CryptoAccountAutoRenew,
ContractAutoRenew,
GetVersionInfo,
TransactionGetReceipt,
ConsensusCreateTopic,
ConsensusUpdateTopic,
ConsensusDeleteTopic,
ConsensusGetTopicInfo,
ConsensusSubmitMessage,
UncheckedSubmit,
TokenCreate,
TokenGetInfo,
TokenFreezeAccount,
TokenUnfreezeAccount,
TokenGrantKycToAccount,
TokenRevokeKycFromAccount,
TokenDelete,
TokenUpdate,
TokenMint,
TokenBurn,
TokenAccountWipe,
TokenAssociateToAccount,
TokenDissociateFromAccount,
ScheduleCreate,
ScheduleDelete,
ScheduleSign,
ScheduleGetInfo,
TokenGetAccountNftInfos,
TokenGetNftInfo,
TokenGetNftInfos,
TokenFeeScheduleUpdate,
NetworkGetExecutionTime,
TokenPause,
TokenUnpause,
CryptoApproveAllowance,
CryptoDeleteAllowance,
GetAccountDetails,
EthereumTransaction,
NodeStakeUpdate,
UtilPrng,
TransactionGetFastRecord,
TokenUpdateNfts,
}
Expand description
The functionality provided by Hedera.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
None
UNSPECIFIED - Need to keep first value as unspecified because first element is ignored and not parsed (0 is ignored by parser)
CryptoTransfer
Transfer from one account to another.
CryptoUpdate
Update an account.
CryptoDelete
Delete an account.
CryptoAddLiveHash
Add a live hash to an account (not currently supported).
CryptoDeleteLiveHash
Remove a live hash from an account (not currently supported).
ContractCall
Execute a contract.
ContractCreate
Create a contract.
ContractUpdate
Update a contract.
FileCreate
Create a file.
FileAppend
Append data to a file.
FileUpdate
Update a file.
FileDelete
Delete a file.
CryptoGetAccountBalance
Query the balance for an account.
CryptoGetAccountRecords
Query the records for an account.
CryptoGetInfo
Query the info for an account.
ContractCallLocal
Execute a contract locally on a node.
ContractGetInfo
Query the info for a contract.
ContractGetBytecode
Query the bytecode for a contract.
GetBySolidityId
Lookup a contract by its solidity ID.
GetByKey
Lookup a contract by key.
CryptoGetLiveHash
Query the live hashes for a account (not currently supported).
CryptoGetStakers
Query the stakers for an account.
FileGetContents
Query the contents of a file.
FileGetInfo
Query the info for a file.
TransactionGetRecord
Query the record for a transaction.
ContractGetRecords
Query the records for a contract.
CryptoCreate
Create an account.
SystemDelete
System delete a file or contract.
SystemUndelete
System undelete a file or contract.
ContractDelete
Delete a contract.
Freeze
Freeze the network.
CreateTransactionRecord
Creation of a transaction record..
CryptoAccountAutoRenew
Auto renewal of an account.
ContractAutoRenew
Auto renewal of a contract
GetVersionInfo
Query the version info of the network.
TransactionGetReceipt
Query the receipt for a transaction.
ConsensusCreateTopic
Create a topic.
ConsensusUpdateTopic
Update a topic.
ConsensusDeleteTopic
Delete a topic.
ConsensusGetTopicInfo
Query the info for a topic.
ConsensusSubmitMessage
Submit a message to a topic.
UncheckedSubmit
Submit a transaction without validation.
TokenCreate
Create a topic.
TokenGetInfo
Query the info for a token.
TokenFreezeAccount
Freeze an account’s balance of a token.
TokenUnfreezeAccount
Unfreeze an account’s balance of a token.
TokenGrantKycToAccount
Grant KYC to an account for a token.
TokenRevokeKycFromAccount
Revoke KYC from an account for a token.
TokenDelete
Delete a token.
TokenUpdate
Update a token.
TokenMint
Mint items on a token.
TokenBurn
Burn items from a token.
TokenAccountWipe
Wipe an account’s balance of a token.
TokenAssociateToAccount
Associate tokens to an account.
TokenDissociateFromAccount
Dissociate tokens from an account.
ScheduleCreate
Create a schedule.
ScheduleDelete
Delete a schedule.
ScheduleSign
Sign a schedule.
ScheduleGetInfo
Query the info for a schedule.
TokenGetAccountNftInfos
Query the info of held NFTs for an account.
TokenGetNftInfo
Query the info of an NFT for a token.
TokenGetNftInfos
Query the info of NFT for a token.
TokenFeeScheduleUpdate
Update the fee schedule for a token.
NetworkGetExecutionTime
Query the execution time of a transaction.
TokenPause
Pause usage of a token.
TokenUnpause
Unpause usage of a token.
CryptoApproveAllowance
Approve an account spending another account’s currency.
CryptoDeleteAllowance
Unapprove an account spending another account’s currency.
GetAccountDetails
Query the details for an account.
EthereumTransaction
Execute an ethereum style transaction.
NodeStakeUpdate
Update an account/contract’s staked node.
UtilPrng
Execute a PRNG transaction.
TransactionGetFastRecord
Get a record for a transaction.
TokenUpdateNfts
Update the metadata of one or more NFT’s of a specific token type.
Trait Implementations§
source§impl Clone for RequestType
impl Clone for RequestType
source§fn clone(&self) -> RequestType
fn clone(&self) -> RequestType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RequestType
impl Debug for RequestType
source§impl PartialEq for RequestType
impl PartialEq for RequestType
source§fn eq(&self, other: &RequestType) -> bool
fn eq(&self, other: &RequestType) -> bool
self
and other
values to be equal, and is used
by ==
.impl Eq for RequestType
impl StructuralPartialEq for RequestType
Auto Trait Implementations§
impl Freeze for RequestType
impl RefUnwindSafe for RequestType
impl Send for RequestType
impl Sync for RequestType
impl Unpin for RequestType
impl UnwindSafe for RequestType
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request