Struct google_discovery1::ResumableUploadHelper
source · pub struct ResumableUploadHelper<'a, A: 'a> {
pub client: &'a mut Client,
pub delegate: &'a mut dyn Delegate,
pub start_at: Option<u64>,
pub auth: &'a mut A,
pub user_agent: &'a str,
pub auth_header: Authorization<Bearer>,
pub url: &'a str,
pub reader: &'a mut dyn ReadSeek,
pub media_type: Mime,
pub content_length: u64,
}
Expand description
A utility type to perform a resumable upload from start to end.
Fields§
§client: &'a mut Client
§delegate: &'a mut dyn Delegate
§start_at: Option<u64>
§auth: &'a mut A
§user_agent: &'a str
§auth_header: Authorization<Bearer>
§url: &'a str
§reader: &'a mut dyn ReadSeek
§media_type: Mime
§content_length: u64
Implementations§
source§impl<'a, A> ResumableUploadHelper<'a, A>where
A: GetToken,
impl<'a, A> ResumableUploadHelper<'a, A>where A: GetToken,
Auto Trait Implementations§
impl<'a, A> !RefUnwindSafe for ResumableUploadHelper<'a, A>
impl<'a, A> !Send for ResumableUploadHelper<'a, A>
impl<'a, A> !Sync for ResumableUploadHelper<'a, A>
impl<'a, A> Unpin for ResumableUploadHelper<'a, A>
impl<'a, A> !UnwindSafe for ResumableUploadHelper<'a, A>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more