pub struct JmapRequest {
pub using: Vec<String>,
pub method_calls: Vec<(String, Value, String)>,
pub created_ids: Option<BTreeMap<String, String>>,
}Expand description
The JMAP Request object (RFC 8620 §3.3).
Fields§
§using: Vec<String>Capability URNs required by the methods in this request.
method_calls: Vec<(String, Value, String)>The method calls to execute, as (methodName, args, callId)
tuples.
created_ids: Option<BTreeMap<String, String>>Client-assigned IDs for newly created objects.
Trait Implementations§
Source§impl Clone for JmapRequest
impl Clone for JmapRequest
Source§fn clone(&self) -> JmapRequest
fn clone(&self) -> JmapRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for JmapRequest
impl Debug for JmapRequest
Auto Trait Implementations§
impl Freeze for JmapRequest
impl RefUnwindSafe for JmapRequest
impl Send for JmapRequest
impl Sync for JmapRequest
impl Unpin for JmapRequest
impl UnsafeUnpin for JmapRequest
impl UnwindSafe for JmapRequest
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