pub struct RecordedResponse {
pub status: u16,
pub headers: BTreeMap<String, String>,
pub body: String,
}Fields§
§status: u16§headers: BTreeMap<String, String>§body: StringTrait Implementations§
Source§impl Clone for RecordedResponse
impl Clone for RecordedResponse
Source§impl Debug for RecordedResponse
impl Debug for RecordedResponse
Source§impl<'de> Deserialize<'de> for RecordedResponse
impl<'de> Deserialize<'de> for RecordedResponse
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 Forget for RecordedResponse
impl Freeze for RecordedResponse
impl RefUnwindSafe for RecordedResponse
impl Send for RecordedResponse
impl Sync for RecordedResponse
impl Unpin for RecordedResponse
impl UnsafeUnpin for RecordedResponse
impl UnwindSafe for RecordedResponse
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