Type Alias hedera::FileContentsQuery

source ·
pub type FileContentsQuery = Query<FileContentsQueryData>;
Expand description

Get the contents of a file.

Aliased Type§

struct FileContentsQuery { /* private fields */ }

Implementations§

source§

impl FileContentsQuery

source

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

Returns the ID of the file for which contents are requested.

source

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

Sets the file ID for which contents are requested.