FileDeleteTransaction

Type Alias 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§

pub 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.