pub struct MsgraphBatch { /* private fields */ }Expand description
Sends a Microsoft Graph batch.
Implementations§
Source§impl MsgraphBatch
impl MsgraphBatch
Sourcepub fn new(
auth: &HttpAuthBearer,
requests: &[MsgraphBatchRequest],
) -> Result<Self, MsgraphSendError>
pub fn new( auth: &HttpAuthBearer, requests: &[MsgraphBatchRequest], ) -> Result<Self, MsgraphSendError>
Sends requests, between 1 and MSGRAPH_BATCH_MAX_REQUESTS
with unique ids.
Trait Implementations§
Source§impl MsgraphCoroutine for MsgraphBatch
impl MsgraphCoroutine for MsgraphBatch
Source§type Yield = MsgraphYield
type Yield = MsgraphYield
The I/O request type yielded while the coroutine progresses.
Source§type Return = Result<MsgraphSendOutput<MsgraphBatchResponses>, MsgraphSendError>
type Return = Result<MsgraphSendOutput<MsgraphBatchResponses>, MsgraphSendError>
The final value produced on completion.
Auto Trait Implementations§
impl Freeze for MsgraphBatch
impl RefUnwindSafe for MsgraphBatch
impl Send for MsgraphBatch
impl Sync for MsgraphBatch
impl Unpin for MsgraphBatch
impl UnsafeUnpin for MsgraphBatch
impl UnwindSafe for MsgraphBatch
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