Struct rusty_runner_api::api::GetFileQuery
source · pub struct GetFileQuery {
pub path: String,
}
Expand description
The query schema for GET /api/file
.
Serialized Example
"path=C%3A%5CUser%5CChell%5Clog.txt"
will download the file C:\User\Chell\log.txt
.
Fields§
§path: String
The path of the file to fetch. See also module documentation.
Trait Implementations§
source§impl Debug for GetFileQuery
impl Debug for GetFileQuery
source§impl<'de> Deserialize<'de> for GetFileQuery
impl<'de> Deserialize<'de> for GetFileQuery
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more