pub struct ContentRequest<'a> {
pub file_id: &'a str,
pub extra_query: HashMap<&'a str, &'a str>,
}Expand description
Returns the contents of the specified file as raw bytes.
Fields§
§file_id: &'a strThe ID of the file to use for this request.
extra_query: HashMap<&'a str, &'a str>Add additional query parameters to the request.
Trait Implementations§
Source§impl<'a> Debug for ContentRequest<'a>
impl<'a> Debug for ContentRequest<'a>
Source§impl<'a> Default for ContentRequest<'a>
impl<'a> Default for ContentRequest<'a>
Source§fn default() -> ContentRequest<'a>
fn default() -> ContentRequest<'a>
Returns the “default value” for a type. Read more
Source§impl Get for ContentRequest<'_>
impl Get for ContentRequest<'_>
Auto Trait Implementations§
impl<'a> Freeze for ContentRequest<'a>
impl<'a> RefUnwindSafe for ContentRequest<'a>
impl<'a> Send for ContentRequest<'a>
impl<'a> Sync for ContentRequest<'a>
impl<'a> Unpin for ContentRequest<'a>
impl<'a> UnsafeUnpin for ContentRequest<'a>
impl<'a> UnwindSafe for ContentRequest<'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