pub struct MsgraphMessagesDelta { /* private fields */ }Expand description
Implementations§
Source§impl MsgraphMessagesDelta
impl MsgraphMessagesDelta
Sourcepub fn new(
auth: &HttpAuthBearer,
user_id: &str,
folder: Option<&str>,
select: Option<&str>,
) -> Result<Self, MsgraphSendError>
pub fn new( auth: &HttpAuthBearer, user_id: &str, folder: Option<&str>, select: Option<&str>, ) -> Result<Self, MsgraphSendError>
Starts a delta round over the whole mailbox, or over folder
when given (a folder id or a well-known name such as inbox).
select trims each row to the named properties (the id always
rides along).
Sourcepub fn from_link(
auth: &HttpAuthBearer,
link: &str,
) -> Result<Self, MsgraphSendError>
pub fn from_link( auth: &HttpAuthBearer, link: &str, ) -> Result<Self, MsgraphSendError>
Continues a round from an @odata.nextLink, or starts the next
round from a saved @odata.deltaLink.
The link already carries the server-issued token, so it is sent as-is through a plain GET.
Trait Implementations§
Source§impl MsgraphCoroutine for MsgraphMessagesDelta
impl MsgraphCoroutine for MsgraphMessagesDelta
Source§type Yield = MsgraphYield
type Yield = MsgraphYield
The I/O request type yielded while the coroutine progresses.
Source§type Return = Result<MsgraphSendOutput<MsgraphMessagesDeltaResponse>, MsgraphSendError>
type Return = Result<MsgraphSendOutput<MsgraphMessagesDeltaResponse>, MsgraphSendError>
The final value produced on completion.
Auto Trait Implementations§
impl Freeze for MsgraphMessagesDelta
impl RefUnwindSafe for MsgraphMessagesDelta
impl Send for MsgraphMessagesDelta
impl Sync for MsgraphMessagesDelta
impl Unpin for MsgraphMessagesDelta
impl UnsafeUnpin for MsgraphMessagesDelta
impl UnwindSafe for MsgraphMessagesDelta
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