pub struct ResponseLogEntry {
pub sequence: u64,
pub method: String,
pub requested_url: String,
pub final_url: String,
pub mime_type: Option<String>,
pub body_preview: String,
pub truncated: bool,
}Expand description
Redacted summary of one server response observed during a local session.
Fields§
§sequence: u64Monotonic local sequence number.
method: StringHTTP-like method or semantic source such as GET or POST.
requested_url: StringURL requested by the user or form.
final_url: StringFinal URL reported by the transport.
mime_type: Option<String>MIME type when known.
body_preview: StringRedacted body preview.
truncated: boolWhether the body preview was truncated.
Implementations§
Trait Implementations§
Source§impl Clone for ResponseLogEntry
impl Clone for ResponseLogEntry
Source§fn clone(&self) -> ResponseLogEntry
fn clone(&self) -> ResponseLogEntry
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 ResponseLogEntry
impl Debug for ResponseLogEntry
Source§impl PartialEq for ResponseLogEntry
impl PartialEq for ResponseLogEntry
Source§fn eq(&self, other: &ResponseLogEntry) -> bool
fn eq(&self, other: &ResponseLogEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ResponseLogEntry
impl StructuralPartialEq for ResponseLogEntry
Auto Trait Implementations§
impl Freeze for ResponseLogEntry
impl RefUnwindSafe for ResponseLogEntry
impl Send for ResponseLogEntry
impl Sync for ResponseLogEntry
impl Unpin for ResponseLogEntry
impl UnsafeUnpin for ResponseLogEntry
impl UnwindSafe for ResponseLogEntry
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