pub struct PeopleClient { /* private fields */ }Implementations§
Source§impl PeopleClient
impl PeopleClient
pub fn new(config: &Config) -> Self
pub async fn list_contacts( &self, max_results: Option<u32>, ) -> PeopleResult<ContactList>
pub async fn search_contacts( &self, query: &str, max_results: Option<u32>, ) -> PeopleResult<ContactList>
pub async fn get_contact(&self, resource_name: &str) -> PeopleResult<Contact>
Trait Implementations§
Source§impl Clone for PeopleClient
impl Clone for PeopleClient
Source§fn clone(&self) -> PeopleClient
fn clone(&self) -> PeopleClient
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for PeopleClient
impl !UnwindSafe for PeopleClient
impl Freeze for PeopleClient
impl Send for PeopleClient
impl Sync for PeopleClient
impl Unpin for PeopleClient
impl UnsafeUnpin for PeopleClient
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