pub struct NetworkReportRaw {
pub age: Annotated<i64>,
pub ty: Annotated<String>,
pub url: Annotated<String>,
pub user_agent: Annotated<String>,
pub body: Annotated<BodyRaw>,
pub other: Object<Value>,
}
Expand description
Models the content of a NEL report.
Fields§
§age: Annotated<i64>
The age of the report since it got collected and before it got sent.
ty: Annotated<String>
The type of the report.
url: Annotated<String>
The URL of the document in which the error occurred.
user_agent: Annotated<String>
The User-Agent HTTP header.
body: Annotated<BodyRaw>
The body of the NEL report.
other: Object<Value>
For forward compatibility.
Trait Implementations§
source§impl Clone for NetworkReportRaw
impl Clone for NetworkReportRaw
source§fn clone(&self) -> NetworkReportRaw
fn clone(&self) -> NetworkReportRaw
Returns a copy of the value. Read more
1.0.0 · 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 NetworkReportRaw
impl Debug for NetworkReportRaw
source§impl Default for NetworkReportRaw
impl Default for NetworkReportRaw
source§fn default() -> NetworkReportRaw
fn default() -> NetworkReportRaw
Returns the “default value” for a type. Read more
source§impl Empty for NetworkReportRaw
impl Empty for NetworkReportRaw
source§impl FromValue for NetworkReportRaw
impl FromValue for NetworkReportRaw
source§fn from_value(__value: Annotated<Value>) -> Annotated<Self>
fn from_value(__value: Annotated<Value>) -> Annotated<Self>
Creates a meta structure from an annotated boxed value.
source§impl IntoValue for NetworkReportRaw
impl IntoValue for NetworkReportRaw
source§fn into_value(self) -> Value
fn into_value(self) -> Value
Boxes the meta structure back into a value.
source§fn serialize_payload<S>(
&self,
__serializer: S,
__behavior: SkipSerialization,
) -> Result<S::Ok, S::Error>where
Self: Sized,
S: Serializer,
fn serialize_payload<S>(
&self,
__serializer: S,
__behavior: SkipSerialization,
) -> Result<S::Ok, S::Error>where
Self: Sized,
S: Serializer,
Efficiently serializes the payload directly.
source§fn extract_child_meta(&self) -> MetaMapwhere
Self: Sized,
fn extract_child_meta(&self) -> MetaMapwhere
Self: Sized,
Extracts children meta map out of a value.
§fn extract_meta_tree(value: &Annotated<Self>) -> MetaTreewhere
Self: Sized,
fn extract_meta_tree(value: &Annotated<Self>) -> MetaTreewhere
Self: Sized,
Extracts the meta tree out of annotated value. Read more
source§impl PartialEq for NetworkReportRaw
impl PartialEq for NetworkReportRaw
impl StructuralPartialEq for NetworkReportRaw
Auto Trait Implementations§
impl Freeze for NetworkReportRaw
impl RefUnwindSafe for NetworkReportRaw
impl Send for NetworkReportRaw
impl Sync for NetworkReportRaw
impl Unpin for NetworkReportRaw
impl UnwindSafe for NetworkReportRaw
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)