Type Alias hedera::FileAppendTransaction

source ·
pub type FileAppendTransaction = Transaction<FileAppendTransactionData>;
Expand description

Append the given contents to the end of the specified file.

Aliased Type§

struct FileAppendTransaction { /* private fields */ }

Implementations§

source§

impl FileAppendTransaction

source

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

Returns the file to which the bytes will be appended.

source

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

Sets the file to which the bytes will be appended.

source

pub fn get_contents(&self) -> Option<&[u8]>

Retuns the bytes that will be appended to the end of the specified file.

source

pub fn contents(&mut self, contents: impl Into<Vec<u8>>) -> &mut Self

Sets the bytes that will be appended to the end of the specified file.