pub struct MsgraphContactsList { /* private fields */ }Expand description
Lists the Microsoft Graph contacts of a contact folder.
Implementations§
Source§impl MsgraphContactsList
impl MsgraphContactsList
Sourcepub fn new(
auth: &HttpAuthBearer,
user_id: &str,
folder: Option<&str>,
params: &MsgraphContactsListParams<'_>,
) -> Result<Self, MsgraphSendError>
pub fn new( auth: &HttpAuthBearer, user_id: &str, folder: Option<&str>, params: &MsgraphContactsListParams<'_>, ) -> Result<Self, MsgraphSendError>
Lists contacts in the default Contacts folder, or in folder
when given (a contact folder id).
Sourcepub fn max_page_size(self, size: u32) -> Self
pub fn max_page_size(self, size: u32) -> Self
Asks Graph for at most size items per page
(Prefer: odata.maxpagesize={size}), see
MsgraphSend::max_page_size. Graph keeps no memory of it
across pages: chain it on every page request, the ones built
from an @odata.nextLink included.
Trait Implementations§
Source§impl MsgraphCoroutine for MsgraphContactsList
impl MsgraphCoroutine for MsgraphContactsList
Source§type Yield = MsgraphYield
type Yield = MsgraphYield
The I/O request type yielded while the coroutine progresses.
Source§type Return = Result<MsgraphSendOutput<MsgraphContactsListResponse>, MsgraphSendError>
type Return = Result<MsgraphSendOutput<MsgraphContactsListResponse>, MsgraphSendError>
The final value produced on completion.
Auto Trait Implementations§
impl Freeze for MsgraphContactsList
impl RefUnwindSafe for MsgraphContactsList
impl Send for MsgraphContactsList
impl Sync for MsgraphContactsList
impl Unpin for MsgraphContactsList
impl UnsafeUnpin for MsgraphContactsList
impl UnwindSafe for MsgraphContactsList
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