Byron/google-apis-rs

method `doit` is private

anil-e opened this issue · 0 comments

anil-e commented

Hi,

First of all, thank you for making this comprehensive library available.

Unfortunately, I encountered a problem during my test of the Gmail import.

I am trying to use the messages_import function as described in the docs:

use gmail1::{ hyper, hyper_rustls, oauth2, Gmail};
use gmail1::{Error, Result as GResult}; 
  
... 

let mut hub = Gmail::new(...);
let result = hub.users().messages_import(req, "anil@termitel.de").doit().await;

Unfortunately, I encounter the error:

method `doit` is private

Is this a bug or am I using the function incorrectly?