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