Type Alias hedera::SystemUndeleteTransaction

source ·
pub type SystemUndeleteTransaction = Transaction<SystemUndeleteTransactionData>;
Expand description

Undelete a file or smart contract that was deleted by a SystemUndeleteTransaction.

Aliased Type§

struct SystemUndeleteTransaction { /* private fields */ }

Implementations§

source§

impl SystemUndeleteTransaction

source

pub fn get_contract_id(&self) -> Option<ContractId>

Returns the contract ID to undelete.

source

pub fn contract_id(&mut self, id: impl Into<ContractId>) -> &mut Self

Sets the contract ID to undelete.

source

pub fn get_file_id(&self) -> Option<FileId>

Returns the file ID to undelete.

source

pub fn file_id(&mut self, id: impl Into<FileId>) -> &mut Self

Sets the file ID to undelete.