pub type FileAppendTransaction = Transaction<FileAppendTransactionData>;
Expand description
Append the given contents to the end of the specified file.
Aliased Type§
pub 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.