pub fn new(customer: &str, domain: &str, token: AccessToken) -> Self {
        let client = Client::builder().build().expect("creating client failed");
        Self {
            customer: customer.to_string(),
            domain: domain.to_string(),
            token,
            client: Arc::new(client),
        }
    }
/// Create a new GSuite client struct. It takes a type that can convert into
/// an &str (`String` or `Vec<u8>` for example). As long as the function is
/// given a valid API Key and Secret your requests will work.
Create a new GSuite client struct. It takes a type that can convert into
an &str (`String` or `Vec` for example). As long as the function is
given a valid API Key and Secret your requests will work.
Create a new GSuite client struct . It takes a type that can convert into an &str ( ` String ` or ` Vec ` for example ) . As long as the function is given a valid API Key and Secret your requests will work .
pub fn new(customer: &str, domain: &str, token: AccessToken) -> Self {
        let client = Client::builder().build().expect("creating client failed");
        Self {
            customer: customer.to_string(),
            domain: domain.to_string(),
            token,
            client: Arc::new(client),
        }
    }
pub fn new ( customer : & str , domain : & str , token : AccessToken ) -> Self { let client = Client :: builder ( ) . build ( ) . expect ( " " ) ; Self { customer : customer . to_string ( ) , domain : domain . to_string ( ) , token , client : Arc :: new ( client ) , } }
Create a new GSuite client struct.
Create a new GSuite client struct .
customer
&str
domain
&str
token
AccessToken
customer
&str
domain
&str
token
AccessToken