pub struct Capture {
pub origin: Option<String>,
pub cookies: Vec<Cookie>,
pub headers: Vec<(String, String)>,
pub user_agent: Option<String>,
pub dropped: Vec<String>,
}Fields§
§origin: Option<String>scheme://host[:port] the capture was scoped to.
headers: Vec<(String, String)>Headers worth keeping (never Cookie, never Authorization).
user_agent: Option<String>§dropped: Vec<String>What was left out, by name only — see S12.
Trait Implementations§
impl StructuralPartialEq for Capture
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