pub struct HttpSheetsApi { /* private fields */ }Expand description
Sheets API over HTTPS, authenticated with a service-account JWT
(OAuth 2.0 jwt-bearer grant). The access token is cached until shortly
before it expires.
Implementations§
Source§impl HttpSheetsApi
impl HttpSheetsApi
pub fn new(credentials: &Credentials) -> Result<HttpSheetsApi, Error>
Trait Implementations§
Source§impl SheetsApi for HttpSheetsApi
impl SheetsApi for HttpSheetsApi
Source§fn get_spreadsheet(&self, id: &str) -> Result<Value, Error>
fn get_spreadsheet(&self, id: &str) -> Result<Value, Error>
GET /spreadsheets/{id} — metadata (sheet titles and ids).Source§fn get_values(&self, id: &str, range: &str) -> Result<Value, Error>
fn get_values(&self, id: &str, range: &str) -> Result<Value, Error>
GET /spreadsheets/{id}/values/{range}.Auto Trait Implementations§
impl !Freeze for HttpSheetsApi
impl !RefUnwindSafe for HttpSheetsApi
impl !UnwindSafe for HttpSheetsApi
impl Forget for HttpSheetsApi
impl Move for HttpSheetsApi
impl Send for HttpSheetsApi
impl Sync for HttpSheetsApi
impl Unpin for HttpSheetsApi
impl UnsafeUnpin for HttpSheetsApi
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