view example_crates/gcs_example/src/media_download.patch @ 223:54fbd7bd5217

add minimal calendar:v3 example
author Daniel Boline <ddboline@gmail.com>
date Sun, 28 Feb 2021 11:43:04 -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(())
     }