pub struct JmapQueryChanges { /* private fields */ }Expand description
Generic I/O-free coroutine for the JMAP Foo/queryChanges method
(RFC 8620 §5.6).
Implementations§
Source§impl JmapQueryChanges
impl JmapQueryChanges
Sourcepub fn new<F: Serialize, S: Serialize>(
account_id: String,
http_auth: &SecretString,
api_url: &Url,
method: impl Into<String>,
capabilities: Vec<String>,
since_query_state: impl Into<String>,
opts: JmapQueryChangesOptions<F, S>,
) -> Result<Self, JmapQueryChangesError>
pub fn new<F: Serialize, S: Serialize>( account_id: String, http_auth: &SecretString, api_url: &Url, method: impl Into<String>, capabilities: Vec<String>, since_query_state: impl Into<String>, opts: JmapQueryChangesOptions<F, S>, ) -> Result<Self, JmapQueryChangesError>
Builds a single-call Foo/queryChanges batch and wraps it in
JmapSend.
Trait Implementations§
Source§impl JmapCoroutine for JmapQueryChanges
impl JmapCoroutine for JmapQueryChanges
Source§type Return = Result<JmapQueryChangesOutput, JmapQueryChangesError>
type Return = Result<JmapQueryChangesOutput, JmapQueryChangesError>
Terminal value. By convention
Result<Output, Error>.Auto Trait Implementations§
impl Freeze for JmapQueryChanges
impl RefUnwindSafe for JmapQueryChanges
impl Send for JmapQueryChanges
impl Sync for JmapQueryChanges
impl Unpin for JmapQueryChanges
impl UnsafeUnpin for JmapQueryChanges
impl UnwindSafe for JmapQueryChanges
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