pub struct GraphMailClient { /* private fields */ }Expand description
Client for sending email via Microsoft Graph (app-only, client credentials).
Obtain an access token using the OAuth2 client credentials flow and call the Graph
POST /users/{id}/sendMail API. Use GraphMailClient::builder to construct.
Implementations§
Source§impl GraphMailClient
impl GraphMailClient
Sourcepub fn builder() -> GraphMailClientBuilder
pub fn builder() -> GraphMailClientBuilder
Return a new builder for configuring and creating a GraphMailClient.
Trait Implementations§
Source§impl Clone for GraphMailClient
impl Clone for GraphMailClient
Source§fn clone(&self) -> GraphMailClient
fn clone(&self) -> GraphMailClient
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for GraphMailClient
impl !RefUnwindSafe for GraphMailClient
impl Send for GraphMailClient
impl Sync for GraphMailClient
impl Unpin for GraphMailClient
impl UnsafeUnpin for GraphMailClient
impl !UnwindSafe for GraphMailClient
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