pub struct ReportingApiReport {
pub id: ReportId,
pub initiator_url: String,
pub destination: String,
pub type: String,
pub timestamp: TimeSinceEpoch,
pub depth: i64,
pub completed_attempts: i64,
pub body: Value,
pub status: ReportStatus,
}
Expand description
An object representing a report generated by the Reporting API. ReportingApiReport
Fields§
§id: ReportId
§initiator_url: String
The URL of the document that triggered the report.
destination: String
The name of the endpoint group that should be used to deliver the report.
type: String
The type of the report (specifies the set of data that is contained in the report body).
timestamp: TimeSinceEpoch
When the report was generated.
depth: i64
How many uploads deep the related request was.
completed_attempts: i64
The number of delivery attempts made so far, not including an active attempt.
body: Value
§status: ReportStatus
Implementations§
Source§impl ReportingApiReport
impl ReportingApiReport
pub fn builder() -> ReportingApiReportBuilder
Source§impl ReportingApiReport
impl ReportingApiReport
pub const IDENTIFIER: &'static str = "Network.ReportingApiReport"
Trait Implementations§
Source§impl Clone for ReportingApiReport
impl Clone for ReportingApiReport
Source§fn clone(&self) -> ReportingApiReport
fn clone(&self) -> ReportingApiReport
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 ReportingApiReport
impl Debug for ReportingApiReport
Source§impl<'de> Deserialize<'de> for ReportingApiReport
impl<'de> Deserialize<'de> for ReportingApiReport
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ReportingApiReport, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ReportingApiReport, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ReportingApiReport
impl PartialEq for ReportingApiReport
Source§impl Serialize for ReportingApiReport
impl Serialize for ReportingApiReport
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ReportingApiReport
Auto Trait Implementations§
impl Freeze for ReportingApiReport
impl RefUnwindSafe for ReportingApiReport
impl Send for ReportingApiReport
impl Sync for ReportingApiReport
impl Unpin for ReportingApiReport
impl UnwindSafe for ReportingApiReport
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§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more