Struct google_plusdomains1::PeopleMethods[][src]

pub struct PeopleMethods<'a, C, A> where
    C: 'a,
    A: 'a, 
{ /* fields omitted */ }

A builder providing access to all methods supported on people resources. It is not used directly, but through the PlusDomains hub.

Example

Instantiate a resource builder

extern crate hyper;
extern crate hyper_rustls;
extern crate yup_oauth2 as oauth2;
extern crate google_plusdomains1 as plusdomains1;
 
use std::default::Default;
use oauth2::{Authenticator, DefaultAuthenticatorDelegate, ApplicationSecret, MemoryStorage};
use plusdomains1::PlusDomains;
 
let secret: ApplicationSecret = Default::default();
let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate,
                              hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())),
                              <MemoryStorage as Default>::default(), None);
let mut hub = PlusDomains::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth);
// Usually you wouldn't bind this to a variable, but keep calling *CallBuilders*
// like `get(...)`, `list(...)`, `list_by_activity(...)` and `list_by_circle(...)`
// to build up your call.
let rb = hub.people();

Methods

impl<'a, C, A> PeopleMethods<'a, C, A>
[src]

Create a builder to help you perform the following task:

List all of the people who are members of a circle.

Arguments

  • circleId - The ID of the circle to get the members of.

Create a builder to help you perform the following task:

List all of the people in the specified collection.

Arguments

  • userId - Get the collection of people for the person identified. Use "me" to indicate the authenticated user.
  • collection - The collection of people to list.

Create a builder to help you perform the following task:

Get a person's profile.

Arguments

  • userId - The ID of the person to get the profile for. The special value "me" can be used to indicate the authenticated user.

Create a builder to help you perform the following task:

List all of the people in the specified collection for a particular activity.

Arguments

  • activityId - The ID of the activity to get the list of people for.
  • collection - The collection of people to list.

Trait Implementations

impl<'a, C, A> MethodsBuilder for PeopleMethods<'a, C, A>
[src]

Auto Trait Implementations

impl<'a, C, A> !Send for PeopleMethods<'a, C, A>

impl<'a, C, A> !Sync for PeopleMethods<'a, C, A>