pub struct JmapIdentityGet { /* private fields */ }Expand description
I/O-free coroutine for the JMAP Identity/get method.
Implementations§
Source§impl JmapIdentityGet
impl JmapIdentityGet
Sourcepub fn new(
session: &JmapSession,
http_auth: &SecretString,
opts: JmapIdentityGetOptions,
) -> Result<Self, JmapIdentityGetError>
pub fn new( session: &JmapSession, http_auth: &SecretString, opts: JmapIdentityGetOptions, ) -> Result<Self, JmapIdentityGetError>
Prepares the method call request and builds the coroutine.
Trait Implementations§
Source§impl JmapCoroutine for JmapIdentityGet
impl JmapCoroutine for JmapIdentityGet
Source§type Return = Result<JmapIdentityGetOutput, JmapIdentityGetError>
type Return = Result<JmapIdentityGetOutput, JmapIdentityGetError>
Terminal value. By convention
Result<Output, Error>.Auto Trait Implementations§
impl Freeze for JmapIdentityGet
impl RefUnwindSafe for JmapIdentityGet
impl Send for JmapIdentityGet
impl Sync for JmapIdentityGet
impl Unpin for JmapIdentityGet
impl UnsafeUnpin for JmapIdentityGet
impl UnwindSafe for JmapIdentityGet
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