pub struct Capture {
pub url: String,
pub status: u16,
pub headers: BTreeMap<String, String>,
pub content_type: Option<String>,
pub body_base64: String,
}Fields§
§url: String§status: u16§headers: BTreeMap<String, String>§content_type: Option<String>§body_base64: StringResponse body, base64-encoded so binary payloads survive serialization.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Capture
impl<'de> Deserialize<'de> for Capture
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 Capture
impl RefUnwindSafe for Capture
impl Send for Capture
impl Sync for Capture
impl Unpin for Capture
impl UnsafeUnpin for Capture
impl UnwindSafe for Capture
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