pub struct RequestPart {
pub method: String,
pub path: String,
pub headers: BTreeMap<String, String>,
pub body: Value,
}Fields§
§method: String§path: String§headers: BTreeMap<String, String>§body: ValueTrait Implementations§
Source§impl Clone for RequestPart
impl Clone for RequestPart
Source§fn clone(&self) -> RequestPart
fn clone(&self) -> RequestPart
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 RequestPart
impl Debug for RequestPart
Source§impl<'de> Deserialize<'de> for RequestPart
impl<'de> Deserialize<'de> for RequestPart
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RequestPart
impl RefUnwindSafe for RequestPart
impl Send for RequestPart
impl Sync for RequestPart
impl Unpin for RequestPart
impl UnsafeUnpin for RequestPart
impl UnwindSafe for RequestPart
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