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
impl FileAppendTransaction
sourcepub fn get_file_id(&self) -> Option<FileId>
pub fn get_file_id(&self) -> Option<FileId>
Returns the file to which the bytes will be appended.
sourcepub fn file_id(&mut self, id: impl Into<FileId>) -> &mut Self
pub fn file_id(&mut self, id: impl Into<FileId>) -> &mut Self
Sets the file to which the bytes will be appended.
sourcepub fn get_contents(&self) -> Option<&[u8]>
pub fn get_contents(&self) -> Option<&[u8]>
Retuns the bytes that will be appended to the end of the specified file.