pub struct Report<C> {
pub age: Duration,
pub url: String,
pub user_agent: String,
pub body: C,
}
Expand description
Represents a single report, after having parsed the body into the Rust type specific to this type of report.
Fields§
§age: Duration
The amount of time between when the report was generated by the user agent and when it was uploaded.
url: String
The URL of the request that this report describes.
user_agent: String
The value of the User-Agent
header of the request that this report describes.
body: C
The body of the report.
Trait Implementations§
impl<C> StructuralPartialEq for Report<C>
Auto Trait Implementations§
impl<C> Freeze for Report<C>where
C: Freeze,
impl<C> RefUnwindSafe for Report<C>where
C: RefUnwindSafe,
impl<C> Send for Report<C>where
C: Send,
impl<C> Sync for Report<C>where
C: Sync,
impl<C> Unpin for Report<C>where
C: Unpin,
impl<C> UnwindSafe for Report<C>where
C: UnwindSafe,
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