Type Alias hedera::FileDeleteTransaction

source ·
pub type FileDeleteTransaction = Transaction<FileDeleteTransactionData>;
Expand description

Delete the given file.

After deletion, it will be marked as deleted and will have no contents. Information about it will continue to exist until it expires.

Aliased Type§

struct FileDeleteTransaction { /* private fields */ }

Implementations§

source§

impl FileDeleteTransaction

source

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

Returns the ID of the file to be deleted.

source

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

Sets the ID of the file to be deleted.