Mercurial > lbo > hg > async-google-apis
view example_crates/gcs_example/src/media_download.patch @ 210:3f7f119b8a26
let upload_file take immutable reference
author | Daniel Boline <ddboline@gmail.com> |
---|---|
date | Mon, 22 Feb 2021 16:41:01 -0500 |
parents | 5a55862de3fb |
children | eebc8dacb51c |
line wrap: on
line source
--- ../../generate/gen/storage_v1_types.rs 2021-01-29 11:49:42.176524408 +0100 +++ src/storage_v1_types.rs 2021-01-29 13:25:13.281422576 +0100 @@ -1125,6 +1125,8 @@ /// Responses with Content-Type of application/json #[serde(rename = "json")] Json, + #[serde(rename = "media")] + Media, } impl std::default::Default for StorageParamsAlt { @@ -1138,6 +1140,7 @@ let s = match self { StorageParamsAlt::Undefined => write!(f, "undefined"), StorageParamsAlt::Json => write!(f, "json"), + StorageParamsAlt::Media => write!(f, "media"), }; Ok(()) }