FileContentsQuery

Type Alias FileContentsQuery 

Source
pub type FileContentsQuery = Query<FileContentsQueryData>;
Expand description

Get the contents of a file.

Aliased Type§

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