[−][src]Struct google_plus1::PeopleMethods
A builder providing access to all methods supported on people resources.
It is not used directly, but through the Plus
hub.
Example
Instantiate a resource builder
extern crate hyper; extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_plus1 as plus1; use std::default::Default; use oauth2::{Authenticator, DefaultAuthenticatorDelegate, ApplicationSecret, MemoryStorage}; use plus1::Plus; 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 = Plus::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 `search(...)` // to build up your call. let rb = hub.people();
Methods
impl<'a, C, A> PeopleMethods<'a, C, A>
[src]
pub fn search(&self, query: &str) -> PeopleSearchCall<'a, C, A>
[src]
Create a builder to help you perform the following task:
Shut down. See https://developers.google.com/+/api-shutdown for more details.
Arguments
query
- Specify a query string for full text search of public text in all profiles.
pub fn list_by_activity(
&self,
activity_id: &str,
collection: &str
) -> PeopleListByActivityCall<'a, C, A>
[src]
&self,
activity_id: &str,
collection: &str
) -> PeopleListByActivityCall<'a, C, A>
Create a builder to help you perform the following task:
Shut down. See https://developers.google.com/+/api-shutdown for more details.
Arguments
activityId
- The ID of the activity to get the list of people for.collection
- The collection of people to list.
pub fn list(&self, user_id: &str, collection: &str) -> PeopleListCall<'a, C, A>
[src]
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.
pub fn get(&self, user_id: &str) -> PeopleGetCall<'a, C, A>
[src]
Create a builder to help you perform the following task:
Get a person's profile. If your app uses scope https://www.googleapis.com/auth/plus.login, this method is guaranteed to return ageRange and language.
Arguments
userId
- The ID of the person to get the profile for. The special value "me" can be used to indicate the authenticated user.
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> Unpin for PeopleMethods<'a, C, A>
impl<'a, C, A> !Sync for PeopleMethods<'a, C, A>
impl<'a, C, A> !UnwindSafe for PeopleMethods<'a, C, A>
impl<'a, C, A> !RefUnwindSafe for PeopleMethods<'a, C, A>
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Typeable for T where
T: Any,
T: Any,