pub struct BatchRequest {
pub id: String,
pub method: &'static str,
pub url: String,
pub body: Option<Value>,
pub headers: Option<Map<String, Value>>,
}Fields§
§id: String§method: &'static str§url: String§body: Option<Value>§headers: Option<Map<String, Value>>Implementations§
Trait Implementations§
Source§impl Clone for BatchRequest
impl Clone for BatchRequest
Source§impl Debug for BatchRequest
impl Debug for BatchRequest
Auto Trait Implementations§
impl Freeze for BatchRequest
impl RefUnwindSafe for BatchRequest
impl Send for BatchRequest
impl Sync for BatchRequest
impl Unpin for BatchRequest
impl UnsafeUnpin for BatchRequest
impl UnwindSafe for BatchRequest
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