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
impl SystemUndeleteTransaction
sourcepub fn get_contract_id(&self) -> Option<ContractId>
pub fn get_contract_id(&self) -> Option<ContractId>
Returns the contract ID to undelete.
sourcepub fn contract_id(&mut self, id: impl Into<ContractId>) -> &mut Self
pub fn contract_id(&mut self, id: impl Into<ContractId>) -> &mut Self
Sets the contract ID to undelete.
sourcepub fn get_file_id(&self) -> Option<FileId>
pub fn get_file_id(&self) -> Option<FileId>
Returns the file ID to undelete.