@@ -133,7 +133,7 @@ use std::marker::PhantomData;
133133use std::borrow::BorrowMut;
134134use std::cell::RefCell;
135135use std::default::Default;
136- use std::io::{Read, Seek} ;
136+ use std::io;
137137use std::fs;
138138use std::collections::BTreeMap;
139139
@@ -5264,7 +5264,7 @@ impl<'a, C, NC, A> ChannelBannerInsertMethodBuilder<'a, C, NC, A> where NC: hype
52645264
52655265
52665266 /// Perform the operation you have build so far.
5267- fn doit<R, RS>(mut self, stream: Option<(R, u64, mime::Mime)>, resumeable_stream: Option<(RS, u64, mime::Mime)>) -> Result<ChannelBannerResource> where R: Read, RS: ReadSeek {
5267+ fn doit<R, RS>(mut self, stream: Option<(R, u64, mime::Mime)>, resumeable_stream: Option<(RS, u64, mime::Mime)>) -> Result<ChannelBannerResource> where R: io:: Read, RS: ReadSeek {
52685268 let mut params: Vec<(&str, String)> = Vec::with_capacity(3 + self._additional_params.len());
52695269 if self._on_behalf_of_content_owner.is_some() {
52705270 params.push(("onBehalfOfContentOwner", self._on_behalf_of_content_owner.unwrap().to_string()));
@@ -5304,7 +5304,7 @@ impl<'a, C, NC, A> ChannelBannerInsertMethodBuilder<'a, C, NC, A> where NC: hype
53045304 /// * *multipart*: yes
53055305 /// * *valid mime types*: 'application/octet-stream', 'image/jpeg' and 'image/png'
53065306 pub fn upload<R>(mut self, stream: R, size: u64, mime_type: mime::Mime) -> Result<ChannelBannerResource>
5307- where R: Read {
5307+ where R: io:: Read {
53085308 self.doit(Some((stream, size, mime_type)), None::<(fs::File, u64, mime::Mime)>, )
53095309 }
53105310 /// Upload media in a resumeable fashion.
@@ -7271,7 +7271,7 @@ impl<'a, C, NC, A> ThumbnailSetMethodBuilder<'a, C, NC, A> where NC: hyper::net:
72717271
72727272
72737273 /// Perform the operation you have build so far.
7274- fn doit<R, RS>(mut self, stream: Option<(R, u64, mime::Mime)>, resumeable_stream: Option<(RS, u64, mime::Mime)>) -> Result<ThumbnailSetResponse> where R: Read, RS: ReadSeek {
7274+ fn doit<R, RS>(mut self, stream: Option<(R, u64, mime::Mime)>, resumeable_stream: Option<(RS, u64, mime::Mime)>) -> Result<ThumbnailSetResponse> where R: io:: Read, RS: ReadSeek {
72757275 let mut params: Vec<(&str, String)> = Vec::with_capacity(3 + self._additional_params.len());
72767276 params.push(("videoId", self._video_id.to_string()));
72777277 if self._on_behalf_of_content_owner.is_some() {
@@ -7312,7 +7312,7 @@ impl<'a, C, NC, A> ThumbnailSetMethodBuilder<'a, C, NC, A> where NC: hyper::net:
73127312 /// * *multipart*: yes
73137313 /// * *valid mime types*: 'application/octet-stream', 'image/jpeg' and 'image/png'
73147314 pub fn upload<R>(mut self, stream: R, size: u64, mime_type: mime::Mime) -> Result<ThumbnailSetResponse>
7315- where R: Read {
7315+ where R: io:: Read {
73167316 self.doit(Some((stream, size, mime_type)), None::<(fs::File, u64, mime::Mime)>, )
73177317 }
73187318 /// Upload media in a resumeable fashion.
@@ -8540,7 +8540,7 @@ impl<'a, C, NC, A> VideoInsertMethodBuilder<'a, C, NC, A> where NC: hyper::net::
85408540
85418541
85428542 /// Perform the operation you have build so far.
8543- fn doit<R, RS>(mut self, stream: Option<(R, u64, mime::Mime)>, resumeable_stream: Option<(RS, u64, mime::Mime)>) -> Result<Video> where R: Read, RS: ReadSeek {
8543+ fn doit<R, RS>(mut self, stream: Option<(R, u64, mime::Mime)>, resumeable_stream: Option<(RS, u64, mime::Mime)>) -> Result<Video> where R: io:: Read, RS: ReadSeek {
85448544 let mut params: Vec<(&str, String)> = Vec::with_capacity(8 + self._additional_params.len());
85458545 if self._part.len() == 0 {
85468546 self._part = self._request.to_parts();
@@ -8596,7 +8596,7 @@ impl<'a, C, NC, A> VideoInsertMethodBuilder<'a, C, NC, A> where NC: hyper::net::
85968596 /// * *multipart*: yes
85978597 /// * *valid mime types*: 'application/octet-stream' and 'video/*'
85988598 pub fn upload<R>(mut self, stream: R, size: u64, mime_type: mime::Mime) -> Result<Video>
8599- where R: Read {
8599+ where R: io:: Read {
86008600 self.doit(Some((stream, size, mime_type)), None::<(fs::File, u64, mime::Mime)>, )
86018601 }
86028602 /// Upload media in a resumeable fashion.
@@ -12292,7 +12292,7 @@ impl<'a, C, NC, A> WatermarkSetMethodBuilder<'a, C, NC, A> where NC: hyper::net:
1229212292
1229312293
1229412294 /// Perform the operation you have build so far.
12295- fn doit<R, RS>(mut self, stream: Option<(R, u64, mime::Mime)>, resumeable_stream: Option<(RS, u64, mime::Mime)>) -> Result<()> where R: Read, RS: ReadSeek {
12295+ fn doit<R, RS>(mut self, stream: Option<(R, u64, mime::Mime)>, resumeable_stream: Option<(RS, u64, mime::Mime)>) -> Result<()> where R: io:: Read, RS: ReadSeek {
1229612296 let mut params: Vec<(&str, String)> = Vec::with_capacity(4 + self._additional_params.len());
1229712297 params.push(("channelId", self._channel_id.to_string()));
1229812298 if self._on_behalf_of_content_owner.is_some() {
@@ -12333,7 +12333,7 @@ impl<'a, C, NC, A> WatermarkSetMethodBuilder<'a, C, NC, A> where NC: hyper::net:
1233312333 /// * *multipart*: yes
1233412334 /// * *valid mime types*: 'application/octet-stream', 'image/jpeg' and 'image/png'
1233512335 pub fn upload<R>(mut self, stream: R, size: u64, mime_type: mime::Mime) -> Result<()>
12336- where R: Read {
12336+ where R: io:: Read {
1233712337 self.doit(Some((stream, size, mime_type)), None::<(fs::File, u64, mime::Mime)>, )
1233812338 }
1233912339 /// Upload media in a resumeable fashion.
0 commit comments