pub struct MsgraphEventCreate { /* private fields */ }Expand description
Creates a Microsoft Graph event.
Implementations§
Source§impl MsgraphEventCreate
impl MsgraphEventCreate
Sourcepub fn new(
auth: &HttpAuthBearer,
user_id: &str,
calendar: Option<&str>,
event: &MsgraphEvent,
) -> Result<Self, MsgraphSendError>
pub fn new( auth: &HttpAuthBearer, user_id: &str, calendar: Option<&str>, event: &MsgraphEvent, ) -> Result<Self, MsgraphSendError>
Creates the event in the default calendar, or in calendar when
given (a calendar id).
Trait Implementations§
Source§impl MsgraphCoroutine for MsgraphEventCreate
impl MsgraphCoroutine for MsgraphEventCreate
Source§type Yield = MsgraphYield
type Yield = MsgraphYield
The I/O request type yielded while the coroutine progresses.
Source§type Return = Result<MsgraphSendOutput<MsgraphEvent>, MsgraphSendError>
type Return = Result<MsgraphSendOutput<MsgraphEvent>, MsgraphSendError>
The final value produced on completion.
Auto Trait Implementations§
impl Freeze for MsgraphEventCreate
impl RefUnwindSafe for MsgraphEventCreate
impl Send for MsgraphEventCreate
impl Sync for MsgraphEventCreate
impl Unpin for MsgraphEventCreate
impl UnsafeUnpin for MsgraphEventCreate
impl UnwindSafe for MsgraphEventCreate
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